<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/src/codecs/qgb18030codec.cpp:436 -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>TQGbkCodec Class</title>
<style type="text/css"><!--
fn { margin-left: 1cm; text-indent: -1cm; }
a:link { color: #004faf; text-decoration: none }
a:visited { color: #672967; text-decoration: none }
body { background: #ffffff; color: black; }
--></style>
</head>
<body>

<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr bgcolor="#E5E5E5">
<td valign=center>
 <a href="index.html">
<font color="#004faf">Home</font></a>
 | <a href="classes.html">
<font color="#004faf">All&nbsp;Classes</font></a>
 | <a href="mainclasses.html">
<font color="#004faf">Main&nbsp;Classes</font></a>
 | <a href="annotated.html">
<font color="#004faf">Annotated</font></a>
 | <a href="groups.html">
<font color="#004faf">Grouped&nbsp;Classes</font></a>
 | <a href="functions.html">
<font color="#004faf">Functions</font></a>
</td>
<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>TQGbkCodec Class Reference</h1>

<p>The TQGbkCodec class provides conversion to and from the Chinese
GBK encoding.
<a href="#details">More...</a>
<p>All the functions in this class are <a href="threads.html#reentrant">reentrant</a> when TQt is built with thread support.</p>
<p><tt>#include &lt;<a href="qgb18030codec-h.html">qgb18030codec.h</a>&gt;</tt>
<p>Inherits <a href="qgb18030codec.html">TQGb18030Codec</a>.
<p><a href="qgbkcodec-members.html">List of all member functions.</a>
<hr><a name="details"></a><h2>Detailed Description</h2>
 


<p> The TQGbkCodec class provides conversion to and from the Chinese
GBK encoding.
<p> GBK, formally the Chinese Internal Code Specification, is a commonly
used extension of GB 2312-80. Microsoft Windows uses it under the
name code page 936.
<p> The GBK encoding has been superceded by the GB18030 encoding and
GB18030 is backward compatible to GBK.  For this reason the TQGbkCodec class
is implemented in terms of the GB18030 codec and uses its 1-byte and
2-byte portion for conversion from and to Unicode.
<p> The TQGbkCodec is kept mainly for compatibility reasons with older software.
<p>See also <a href="i18n.html">Internationalization with TQt</a>.

<!-- eof -->
<hr><p>
This file is part of the <a href="index.html">TQt toolkit</a>.
Copyright &copy; 1995-2007
<a href="http://www.trolltech.com/">Trolltech</a>. All Rights Reserved.<p><address><hr><div align=center>
<table width=100% cellspacing=0 border=0><tr>
<td>Copyright &copy; 2007
<a href="troll.html">Trolltech</a><td align=center><a href="trademarks.html">Trademarks</a>
<td align=right><div align=right>TQt 3.3.8</div>
</table></div></address></body>
</html>