|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>http::server::cUTF Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.4.6-NO -->
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main Page</span></a></li>
<li id="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
</ul></div>
<div class="tabs">
<ul>
<li><a href="annotated.html"><span>Class List</span></a></li>
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class Members</span></a></li>
</ul></div>
<div class="nav">
<b>http</b>::<b>server</b>::<a class="el" href="classhttp_1_1server_1_1c_u_t_f.html">cUTF</a></div>
<h1>http::server::cUTF Class Reference</h1><!-- doxytag: class="http::server::cUTF" -->Conversion between UTF-8 and UTF-16 strings.
<a href="#_details">More...</a>
<p>
<a href="classhttp_1_1server_1_1c_u_t_f-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b4641cdba6e89d86e062dc2ea80d67c4"></a><!-- doxytag: member="http::server::cUTF::cUTF" ref="b4641cdba6e89d86e062dc2ea80d67c4" args="(const wchar_t *ws)" -->
</td><td class="memItemRight" valign="bottom"><a class="el" href="classhttp_1_1server_1_1c_u_t_f.html#b4641cdba6e89d86e062dc2ea80d67c4">cUTF</a> (const wchar_t *ws)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Construct from UTF-16. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1b2cd49944682e0244e3f45b6bb0acc6"></a><!-- doxytag: member="http::server::cUTF::cUTF" ref="1b2cd49944682e0244e3f45b6bb0acc6" args="(const char *s)" -->
</td><td class="memItemRight" valign="bottom"><a class="el" href="classhttp_1_1server_1_1c_u_t_f.html#1b2cd49944682e0244e3f45b6bb0acc6">cUTF</a> (const char *s)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Construct from UTF8. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c997807a746dda6b203d60299c211c62"></a><!-- doxytag: member="http::server::cUTF::get16" ref="c997807a746dda6b203d60299c211c62" args="()" -->
const wchar_t * </td><td class="memItemRight" valign="bottom"><a class="el" href="classhttp_1_1server_1_1c_u_t_f.html#c997807a746dda6b203d60299c211c62">get16</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">get UTF16 version <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d34c69dbc4564547d30c1192081c6d23"></a><!-- doxytag: member="http::server::cUTF::get8" ref="d34c69dbc4564547d30c1192081c6d23" args="()" -->
const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="classhttp_1_1server_1_1c_u_t_f.html#d34c69dbc4564547d30c1192081c6d23">get8</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">get UTF8 version <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2bb8274eff321c3d4864e3f10936b6c1"></a><!-- doxytag: member="http::server::cUTF::~cUTF" ref="2bb8274eff321c3d4864e3f10936b6c1" args="()" -->
</td><td class="memItemRight" valign="bottom"><a class="el" href="classhttp_1_1server_1_1c_u_t_f.html#2bb8274eff321c3d4864e3f10936b6c1">~cUTF</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">free buffers <br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Conversion between UTF-8 and UTF-16 strings.
<p>
UTF-8 is used by web pages. It is a variable byte length encoding of UNICODE characters which is independant of the byte order in a computer word.<p>
UTF-16 is the native Windows UNICODE encoding.<p>
The class stores two copies of the string, one in each encoding, so should only exist briefly while conversion is done.<p>
This is a wrapper for the WideCharToMultiByte and MultiByteToWideChar
<p>
<hr>The documentation for this class was generated from the following file:<ul>
<li>C:/Documents and Settings/james/My Documents/code/webem/world/cWebem.cpp</ul>
<hr size="1"><address style="align: right;"><small>Generated on Mon May 31 11:27:51 2010 by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6-NO </small></address>
</body>
</html>
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.