mirror of
https://github.com/boostorg/locale.git
synced 2026-02-26 16:52:26 +00:00
Updated documentation
[SVN r73646]
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<title>Boost.Locale: Character conversion functions</title>
|
||||
<title>Boost.Locale: Codepage</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
|
||||
<!--
|
||||
@@ -64,7 +64,7 @@
|
||||
<a href="#enum-members">Enumerations</a> |
|
||||
<a href="#func-members">Functions</a> </div>
|
||||
<div class="headertitle">
|
||||
<h1>Character conversion functions</h1> </div>
|
||||
<h1>Codepage</h1> </div>
|
||||
</div>
|
||||
<div class="contents">
|
||||
<table class="memberdecls">
|
||||
@@ -82,33 +82,6 @@ Enumerations</h2></td></tr>
|
||||
}</td></tr>
|
||||
<tr><td colspan="2"><h2><a name="func-members"></a>
|
||||
Functions</h2></td></tr>
|
||||
<tr><td class="memTemplParams" colspan="2">template<typename CharType > </td></tr>
|
||||
<tr><td class="memTemplItemLeft" align="right" valign="top">std::basic_string< CharType > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__codepage.html#gad659f9c9c8b291e2ac6af24c49b42e43">boost::locale::conv::to_utf</a> (char const *begin, char const *end, std::string const &charset, method_type how=default_method)</td></tr>
|
||||
<tr><td class="memTemplParams" colspan="2">template<typename CharType > </td></tr>
|
||||
<tr><td class="memTemplItemLeft" align="right" valign="top">std::string </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__codepage.html#gadc41bd2517e6e3bdcecdfc93b339204c">boost::locale::conv::from_utf</a> (CharType const *begin, CharType const *end, std::string const &charset, method_type how=default_method)</td></tr>
|
||||
<tr><td class="memTemplParams" colspan="2">template<typename CharType > </td></tr>
|
||||
<tr><td class="memTemplItemLeft" align="right" valign="top">std::basic_string< CharType > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__codepage.html#ga474409c9625e08b86bf1480c82639e5b">boost::locale::conv::to_utf</a> (char const *begin, char const *end, std::locale const &loc, method_type how=default_method)</td></tr>
|
||||
<tr><td class="memTemplParams" colspan="2">template<typename CharType > </td></tr>
|
||||
<tr><td class="memTemplItemLeft" align="right" valign="top">std::string </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__codepage.html#ga075f5bae721a9e87d887556ebefe1860">boost::locale::conv::from_utf</a> (CharType const *begin, CharType const *end, std::locale const &loc, method_type how=default_method)</td></tr>
|
||||
<tr><td class="memTemplParams" colspan="2">template<typename CharType > </td></tr>
|
||||
<tr><td class="memTemplItemLeft" align="right" valign="top">std::basic_string< CharType > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__codepage.html#ga26e823a630dbaecdfbc933ecc0a5c5be">boost::locale::conv::to_utf</a> (std::string const &text, std::string const &charset, method_type how=default_method)</td></tr>
|
||||
<tr><td class="memTemplParams" colspan="2">template<typename CharType > </td></tr>
|
||||
<tr><td class="memTemplItemLeft" align="right" valign="top">std::string </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__codepage.html#ga878bd2dcc00621d4e4e7d3d98f39736d">boost::locale::conv::from_utf</a> (std::basic_string< CharType > const &text, std::string const &charset, method_type how=default_method)</td></tr>
|
||||
<tr><td class="memTemplParams" colspan="2">template<typename CharType > </td></tr>
|
||||
<tr><td class="memTemplItemLeft" align="right" valign="top">std::basic_string< CharType > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__codepage.html#ga42ab3fd3274363286d34088a376581d3">boost::locale::conv::to_utf</a> (char const *text, std::string const &charset, method_type how=default_method)</td></tr>
|
||||
<tr><td class="memTemplParams" colspan="2">template<typename CharType > </td></tr>
|
||||
<tr><td class="memTemplItemLeft" align="right" valign="top">std::string </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__codepage.html#gac56907f3f3585a922e4f44cf86638851">boost::locale::conv::from_utf</a> (CharType const *text, std::string const &charset, method_type how=default_method)</td></tr>
|
||||
<tr><td class="memTemplParams" colspan="2">template<typename CharType > </td></tr>
|
||||
<tr><td class="memTemplItemLeft" align="right" valign="top">std::basic_string< CharType > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__codepage.html#ga24d4f73f7ed314ba5b992b226c341b07">boost::locale::conv::to_utf</a> (std::string const &text, std::locale const &loc, method_type how=default_method)</td></tr>
|
||||
<tr><td class="memTemplParams" colspan="2">template<typename CharType > </td></tr>
|
||||
<tr><td class="memTemplItemLeft" align="right" valign="top">std::string </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__codepage.html#ga9b81fc6055ce081bf0a86681be6ce51e">boost::locale::conv::from_utf</a> (std::basic_string< CharType > const &text, std::locale const &loc, method_type how=default_method)</td></tr>
|
||||
<tr><td class="memTemplParams" colspan="2">template<typename CharType > </td></tr>
|
||||
<tr><td class="memTemplItemLeft" align="right" valign="top">std::basic_string< CharType > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__codepage.html#gae2b0ba250a16567c0ad8919be8061d6e">boost::locale::conv::to_utf</a> (char const *text, std::locale const &loc, method_type how=default_method)</td></tr>
|
||||
<tr><td class="memTemplParams" colspan="2">template<typename CharType > </td></tr>
|
||||
<tr><td class="memTemplItemLeft" align="right" valign="top">std::string </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__codepage.html#gab9f8f0e62bdfd258a99a627f8b88eb34">boost::locale::conv::from_utf</a> (CharType const *text, std::locale const &loc, method_type how=default_method)</td></tr>
|
||||
<tr><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="group__codepage.html#ga7eda9058b8cbac9b05886bcc894faeff">boost::locale::conv::between</a> (char const *begin, char const *end, std::string const &to_encoding, std::string const &from_encoding, method_type how=default_method)</td></tr>
|
||||
<tr><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="group__codepage.html#ga612607a8616add30cf21ceb086e664d5">boost::locale::conv::between</a> (char const *text, std::string const &to_encoding, std::string const &from_encoding, method_type how=default_method)</td></tr>
|
||||
<tr><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="group__codepage.html#gad7f6c33cf95749ab48174ccafddf7b62">boost::locale::conv::between</a> (std::string const &text, std::string const &to_encoding, std::string const &from_encoding, method_type how=default_method)</td></tr>
|
||||
<tr><td class="memTemplParams" colspan="2">template<typename CharOut , typename CharIn > </td></tr>
|
||||
<tr><td class="memTemplItemLeft" align="right" valign="top">std::basic_string< CharOut > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__codepage.html#ga2de4d9d38004e5d7146abf2bd6a3df0b">boost::locale::conv::utf_to_utf</a> (CharIn const *begin, CharIn const *end, method_type how=default_method)</td></tr>
|
||||
<tr><td class="memTemplParams" colspan="2">template<typename CharOut , typename CharIn > </td></tr>
|
||||
@@ -145,624 +118,6 @@ Functions</h2></td></tr>
|
||||
</div>
|
||||
</div>
|
||||
<hr/><h2>Function Documentation</h2>
|
||||
<a class="anchor" id="ga7eda9058b8cbac9b05886bcc894faeff"></a><!-- doxytag: member="boost::locale::conv::between" ref="ga7eda9058b8cbac9b05886bcc894faeff" args="(char const *begin, char const *end, std::string const &to_encoding, std::string const &from_encoding, method_type how=default_method)" -->
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">std::string boost::locale::conv::between </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">char const * </td>
|
||||
<td class="paramname"> <em>begin</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">char const * </td>
|
||||
<td class="paramname"> <em>end</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">std::string const & </td>
|
||||
<td class="paramname"> <em>to_encoding</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">std::string const & </td>
|
||||
<td class="paramname"> <em>from_encoding</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">method_type </td>
|
||||
<td class="paramname"> <em>how</em> = <code>default_method</code></td><td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="memdoc">
|
||||
<p>Convert a text in range [begin,end) to <em>to_encoding</em> from <em>from_encoding</em> </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ga612607a8616add30cf21ceb086e664d5"></a><!-- doxytag: member="boost::locale::conv::between" ref="ga612607a8616add30cf21ceb086e664d5" args="(char const *text, std::string const &to_encoding, std::string const &from_encoding, method_type how=default_method)" -->
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">std::string boost::locale::conv::between </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">char const * </td>
|
||||
<td class="paramname"> <em>text</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">std::string const & </td>
|
||||
<td class="paramname"> <em>to_encoding</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">std::string const & </td>
|
||||
<td class="paramname"> <em>from_encoding</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">method_type </td>
|
||||
<td class="paramname"> <em>how</em> = <code>default_method</code></td><td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td><td><code> [inline]</code></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="memdoc">
|
||||
<p>Convert a <em>text</em> to <em>to_encoding</em> from <em>from_encoding</em> </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="gad7f6c33cf95749ab48174ccafddf7b62"></a><!-- doxytag: member="boost::locale::conv::between" ref="gad7f6c33cf95749ab48174ccafddf7b62" args="(std::string const &text, std::string const &to_encoding, std::string const &from_encoding, method_type how=default_method)" -->
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">std::string boost::locale::conv::between </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">std::string const & </td>
|
||||
<td class="paramname"> <em>text</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">std::string const & </td>
|
||||
<td class="paramname"> <em>to_encoding</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">std::string const & </td>
|
||||
<td class="paramname"> <em>from_encoding</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">method_type </td>
|
||||
<td class="paramname"> <em>how</em> = <code>default_method</code></td><td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td><td><code> [inline]</code></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="memdoc">
|
||||
<p>Convert a <em>text</em> to <em>to_encoding</em> from <em>from_encoding</em> </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ga075f5bae721a9e87d887556ebefe1860"></a><!-- doxytag: member="boost::locale::conv::from_utf" ref="ga075f5bae721a9e87d887556ebefe1860" args="(CharType const *begin, CharType const *end, std::locale const &loc, method_type how=default_method)" -->
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<div class="memtemplate">
|
||||
template<typename CharType > </div>
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">std::string boost::locale::conv::from_utf </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">CharType const * </td>
|
||||
<td class="paramname"> <em>begin</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">CharType const * </td>
|
||||
<td class="paramname"> <em>end</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">std::locale const & </td>
|
||||
<td class="paramname"> <em>loc</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">method_type </td>
|
||||
<td class="paramname"> <em>how</em> = <code>default_method</code></td><td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="memdoc">
|
||||
<p>convert UTF text in range [begin,end) to a text encoded according to locale <em>loc</em> according to policy <em>how</em> </p>
|
||||
<dl class="note"><dt><b>Note:</b></dt><dd>throws std::bad_cast if the loc does not have <a class="el" href="classboost_1_1locale_1_1info.html">info</a> facet installed </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="gac56907f3f3585a922e4f44cf86638851"></a><!-- doxytag: member="boost::locale::conv::from_utf" ref="gac56907f3f3585a922e4f44cf86638851" args="(CharType const *text, std::string const &charset, method_type how=default_method)" -->
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<div class="memtemplate">
|
||||
template<typename CharType > </div>
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">std::string boost::locale::conv::from_utf </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">CharType const * </td>
|
||||
<td class="paramname"> <em>text</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">std::string const & </td>
|
||||
<td class="paramname"> <em>charset</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">method_type </td>
|
||||
<td class="paramname"> <em>how</em> = <code>default_method</code></td><td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="memdoc">
|
||||
<p>Convert a <em>text</em> from UTF to <em>charset</em> </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ga9b81fc6055ce081bf0a86681be6ce51e"></a><!-- doxytag: member="boost::locale::conv::from_utf" ref="ga9b81fc6055ce081bf0a86681be6ce51e" args="(std::basic_string< CharType > const &text, std::locale const &loc, method_type how=default_method)" -->
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<div class="memtemplate">
|
||||
template<typename CharType > </div>
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">std::string boost::locale::conv::from_utf </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">std::basic_string< CharType > const & </td>
|
||||
<td class="paramname"> <em>text</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">std::locale const & </td>
|
||||
<td class="paramname"> <em>loc</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">method_type </td>
|
||||
<td class="paramname"> <em>how</em> = <code>default_method</code></td><td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="memdoc">
|
||||
<p>Convert a <em>text</em> in UTF to locale encoding given by <em>loc</em> </p>
|
||||
<dl class="note"><dt><b>Note:</b></dt><dd>throws std::bad_cast if the loc does not have <a class="el" href="classboost_1_1locale_1_1info.html">info</a> facet installed </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ga878bd2dcc00621d4e4e7d3d98f39736d"></a><!-- doxytag: member="boost::locale::conv::from_utf" ref="ga878bd2dcc00621d4e4e7d3d98f39736d" args="(std::basic_string< CharType > const &text, std::string const &charset, method_type how=default_method)" -->
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<div class="memtemplate">
|
||||
template<typename CharType > </div>
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">std::string boost::locale::conv::from_utf </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">std::basic_string< CharType > const & </td>
|
||||
<td class="paramname"> <em>text</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">std::string const & </td>
|
||||
<td class="paramname"> <em>charset</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">method_type </td>
|
||||
<td class="paramname"> <em>how</em> = <code>default_method</code></td><td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="memdoc">
|
||||
<p>Convert a <em>text</em> from <em>charset</em> to UTF string </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="gab9f8f0e62bdfd258a99a627f8b88eb34"></a><!-- doxytag: member="boost::locale::conv::from_utf" ref="gab9f8f0e62bdfd258a99a627f8b88eb34" args="(CharType const *text, std::locale const &loc, method_type how=default_method)" -->
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<div class="memtemplate">
|
||||
template<typename CharType > </div>
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">std::string boost::locale::conv::from_utf </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">CharType const * </td>
|
||||
<td class="paramname"> <em>text</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">std::locale const & </td>
|
||||
<td class="paramname"> <em>loc</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">method_type </td>
|
||||
<td class="paramname"> <em>how</em> = <code>default_method</code></td><td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="memdoc">
|
||||
<p>Convert a <em>text</em> in UTF to locale encoding given by <em>loc</em> </p>
|
||||
<dl class="note"><dt><b>Note:</b></dt><dd>throws std::bad_cast if the loc does not have <a class="el" href="classboost_1_1locale_1_1info.html">info</a> facet installed </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="gadc41bd2517e6e3bdcecdfc93b339204c"></a><!-- doxytag: member="boost::locale::conv::from_utf" ref="gadc41bd2517e6e3bdcecdfc93b339204c" args="(CharType const *begin, CharType const *end, std::string const &charset, method_type how=default_method)" -->
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<div class="memtemplate">
|
||||
template<typename CharType > </div>
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">std::string boost::locale::conv::from_utf </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">CharType const * </td>
|
||||
<td class="paramname"> <em>begin</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">CharType const * </td>
|
||||
<td class="paramname"> <em>end</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">std::string const & </td>
|
||||
<td class="paramname"> <em>charset</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">method_type </td>
|
||||
<td class="paramname"> <em>how</em> = <code>default_method</code></td><td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="memdoc">
|
||||
<p>convert UTF text in range [begin,end) to a text encoded with <em>charset</em> according to policy <em>how</em> </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ga42ab3fd3274363286d34088a376581d3"></a><!-- doxytag: member="boost::locale::conv::to_utf" ref="ga42ab3fd3274363286d34088a376581d3" args="(char const *text, std::string const &charset, method_type how=default_method)" -->
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<div class="memtemplate">
|
||||
template<typename CharType > </div>
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">std::basic_string<CharType> boost::locale::conv::to_utf </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">char const * </td>
|
||||
<td class="paramname"> <em>text</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">std::string const & </td>
|
||||
<td class="paramname"> <em>charset</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">method_type </td>
|
||||
<td class="paramname"> <em>how</em> = <code>default_method</code></td><td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="memdoc">
|
||||
<p>Convert a <em>text</em> from <em>charset</em> to UTF string </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="gad659f9c9c8b291e2ac6af24c49b42e43"></a><!-- doxytag: member="boost::locale::conv::to_utf" ref="gad659f9c9c8b291e2ac6af24c49b42e43" args="(char const *begin, char const *end, std::string const &charset, method_type how=default_method)" -->
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<div class="memtemplate">
|
||||
template<typename CharType > </div>
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">std::basic_string<CharType> boost::locale::conv::to_utf </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">char const * </td>
|
||||
<td class="paramname"> <em>begin</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">char const * </td>
|
||||
<td class="paramname"> <em>end</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">std::string const & </td>
|
||||
<td class="paramname"> <em>charset</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">method_type </td>
|
||||
<td class="paramname"> <em>how</em> = <code>default_method</code></td><td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="memdoc">
|
||||
<p>convert string to UTF string from text in range [begin,end) encoded with <em>charset</em> according to policy <em>how</em> </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ga24d4f73f7ed314ba5b992b226c341b07"></a><!-- doxytag: member="boost::locale::conv::to_utf" ref="ga24d4f73f7ed314ba5b992b226c341b07" args="(std::string const &text, std::locale const &loc, method_type how=default_method)" -->
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<div class="memtemplate">
|
||||
template<typename CharType > </div>
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">std::basic_string<CharType> boost::locale::conv::to_utf </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">std::string const & </td>
|
||||
<td class="paramname"> <em>text</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">std::locale const & </td>
|
||||
<td class="paramname"> <em>loc</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">method_type </td>
|
||||
<td class="paramname"> <em>how</em> = <code>default_method</code></td><td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="memdoc">
|
||||
<p>Convert a <em>text</em> in locale encoding given by <em>loc</em> to UTF</p>
|
||||
<dl class="note"><dt><b>Note:</b></dt><dd>throws std::bad_cast if the loc does not have <a class="el" href="classboost_1_1locale_1_1info.html">info</a> facet installed </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ga26e823a630dbaecdfbc933ecc0a5c5be"></a><!-- doxytag: member="boost::locale::conv::to_utf" ref="ga26e823a630dbaecdfbc933ecc0a5c5be" args="(std::string const &text, std::string const &charset, method_type how=default_method)" -->
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<div class="memtemplate">
|
||||
template<typename CharType > </div>
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">std::basic_string<CharType> boost::locale::conv::to_utf </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">std::string const & </td>
|
||||
<td class="paramname"> <em>text</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">std::string const & </td>
|
||||
<td class="paramname"> <em>charset</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">method_type </td>
|
||||
<td class="paramname"> <em>how</em> = <code>default_method</code></td><td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="memdoc">
|
||||
<p>convert a string <em>text</em> encoded with <em>charset</em> to UTF string </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ga474409c9625e08b86bf1480c82639e5b"></a><!-- doxytag: member="boost::locale::conv::to_utf" ref="ga474409c9625e08b86bf1480c82639e5b" args="(char const *begin, char const *end, std::locale const &loc, method_type how=default_method)" -->
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<div class="memtemplate">
|
||||
template<typename CharType > </div>
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">std::basic_string<CharType> boost::locale::conv::to_utf </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">char const * </td>
|
||||
<td class="paramname"> <em>begin</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">char const * </td>
|
||||
<td class="paramname"> <em>end</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">std::locale const & </td>
|
||||
<td class="paramname"> <em>loc</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">method_type </td>
|
||||
<td class="paramname"> <em>how</em> = <code>default_method</code></td><td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="memdoc">
|
||||
<p>convert string to UTF string from text in range [begin,end) encoded according to locale <em>loc</em> according to policy <em>how</em> </p>
|
||||
<dl class="note"><dt><b>Note:</b></dt><dd>throws std::bad_cast if the loc does not have <a class="el" href="classboost_1_1locale_1_1info.html">info</a> facet installed </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="gae2b0ba250a16567c0ad8919be8061d6e"></a><!-- doxytag: member="boost::locale::conv::to_utf" ref="gae2b0ba250a16567c0ad8919be8061d6e" args="(char const *text, std::locale const &loc, method_type how=default_method)" -->
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<div class="memtemplate">
|
||||
template<typename CharType > </div>
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">std::basic_string<CharType> boost::locale::conv::to_utf </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">char const * </td>
|
||||
<td class="paramname"> <em>text</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">std::locale const & </td>
|
||||
<td class="paramname"> <em>loc</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">method_type </td>
|
||||
<td class="paramname"> <em>how</em> = <code>default_method</code></td><td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="memdoc">
|
||||
<p>Convert a <em>text</em> in locale encoding given by <em>loc</em> to UTF</p>
|
||||
<dl class="note"><dt><b>Note:</b></dt><dd>throws std::bad_cast if the loc does not have <a class="el" href="classboost_1_1locale_1_1info.html">info</a> facet installed </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ga2aa7d34682ff4e66b297ab5d75e1de51"></a><!-- doxytag: member="boost::locale::conv::utf_to_utf" ref="ga2aa7d34682ff4e66b297ab5d75e1de51" args="(std::basic_string< CharIn > const &str, method_type how=default_method)" -->
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<div class="memtemplate">
|
||||
template<typename CharOut , typename CharIn > </div>
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">std::basic_string<CharOut> boost::locale::conv::utf_to_utf </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">std::basic_string< CharIn > const & </td>
|
||||
<td class="paramname"> <em>str</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">method_type </td>
|
||||
<td class="paramname"> <em>how</em> = <code>default_method</code></td><td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="memdoc">
|
||||
<p>Convert a Unicode string <em>str</em> other Unicode encoding </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ga2de4d9d38004e5d7146abf2bd6a3df0b"></a><!-- doxytag: member="boost::locale::conv::utf_to_utf" ref="ga2de4d9d38004e5d7146abf2bd6a3df0b" args="(CharIn const *begin, CharIn const *end, method_type how=default_method)" -->
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
@@ -797,6 +152,36 @@ template<typename CharOut , typename CharIn > </div>
|
||||
<div class="memdoc">
|
||||
<p>Convert a Unicode text in range [begin,end) to other Unicode encoding </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ga2aa7d34682ff4e66b297ab5d75e1de51"></a><!-- doxytag: member="boost::locale::conv::utf_to_utf" ref="ga2aa7d34682ff4e66b297ab5d75e1de51" args="(std::basic_string< CharIn > const &str, method_type how=default_method)" -->
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<div class="memtemplate">
|
||||
template<typename CharOut , typename CharIn > </div>
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">std::basic_string<CharOut> boost::locale::conv::utf_to_utf </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">std::basic_string< CharIn > const & </td>
|
||||
<td class="paramname"> <em>str</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">method_type </td>
|
||||
<td class="paramname"> <em>how</em> = <code>default_method</code></td><td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="memdoc">
|
||||
<p>Convert a Unicode string <em>str</em> other Unicode encoding </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="gae36d1fa29f675c4f13164afd8e0fabde"></a><!-- doxytag: member="boost::locale::conv::utf_to_utf" ref="gae36d1fa29f675c4f13164afd8e0fabde" args="(CharIn const *str, method_type how=default_method)" -->
|
||||
|
||||
Reference in New Issue
Block a user