1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
---|
2 | <!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/src/codecs/qbig5codec.cpp:38 -->
|
---|
3 | <html>
|
---|
4 | <head>
|
---|
5 | <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
---|
6 | <title>QBig5Codec Class</title>
|
---|
7 | <style type="text/css"><!--
|
---|
8 | fn { margin-left: 1cm; text-indent: -1cm; }
|
---|
9 | a:link { color: #004faf; text-decoration: none }
|
---|
10 | a:visited { color: #672967; text-decoration: none }
|
---|
11 | body { background: #ffffff; color: black; }
|
---|
12 | --></style>
|
---|
13 | </head>
|
---|
14 | <body>
|
---|
15 |
|
---|
16 | <table border="0" cellpadding="0" cellspacing="0" width="100%">
|
---|
17 | <tr bgcolor="#E5E5E5">
|
---|
18 | <td valign=center>
|
---|
19 | <a href="index.html">
|
---|
20 | <font color="#004faf">Home</font></a>
|
---|
21 | | <a href="classes.html">
|
---|
22 | <font color="#004faf">All Classes</font></a>
|
---|
23 | | <a href="mainclasses.html">
|
---|
24 | <font color="#004faf">Main Classes</font></a>
|
---|
25 | | <a href="annotated.html">
|
---|
26 | <font color="#004faf">Annotated</font></a>
|
---|
27 | | <a href="groups.html">
|
---|
28 | <font color="#004faf">Grouped Classes</font></a>
|
---|
29 | | <a href="functions.html">
|
---|
30 | <font color="#004faf">Functions</font></a>
|
---|
31 | </td>
|
---|
32 | <td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>QBig5Codec Class Reference</h1>
|
---|
33 |
|
---|
34 | <p>The QBig5Codec class provides conversion to and from the Big5 encoding.
|
---|
35 | <a href="#details">More...</a>
|
---|
36 | <p><tt>#include <<a href="qbig5codec-h.html">qbig5codec.h</a>></tt>
|
---|
37 | <p>Inherits <a href="qtextcodec.html">QTextCodec</a>.
|
---|
38 | <p><a href="qbig5codec-members.html">List of all member functions.</a>
|
---|
39 | <hr><a name="details"></a><h2>Detailed Description</h2>
|
---|
40 |
|
---|
41 |
|
---|
42 |
|
---|
43 | <p> The QBig5Codec class provides conversion to and from the Big5 encoding.
|
---|
44 | <p> QBig5Codec was originally contributed by Ming-Che Chuang
|
---|
45 | <mingche@cobra.ee.ntu.edu.tw> for the Big-5+ encoding, and was
|
---|
46 | included in Qt with the author's permission, and the grateful
|
---|
47 | thanks of the Trolltech team. (Note: Ming-Che's code is QPL'd, as
|
---|
48 | per an mail to info@trolltech.com.)
|
---|
49 | <p> However, since Big-5+ was never formally approved, and was never
|
---|
50 | used by anyone, the Taiwan Free Software community and the Li18nux
|
---|
51 | Big5 Standard Subgroup agree that the de-facto standard Big5-ETen
|
---|
52 | (zh_TW.Big5 or zh_TW.TW-Big5) be used instead.
|
---|
53 | <p> QBig5Codec is currently implemented as a pure subset of
|
---|
54 | <a href="qbig5hkscscodec.html">QBig5hkscsCodec</a>, so more fine-tuning is needed to make it
|
---|
55 | identical to the standard Big5 mapping as determined by
|
---|
56 | Li18nux-Big5. See <a href="http://www.autrijus.org/xml/">http://www.autrijus.org/xml/</a> for the draft
|
---|
57 | Big5 (2002) standard.
|
---|
58 | <p> James Su <suzhe@turbolinux.com.cn> <suzhe@gnuchina.org>
|
---|
59 | generated the Big5-HKSCS<->Unicode tables with a very
|
---|
60 | space-efficient algorithm. He generously donated his code to glibc
|
---|
61 | in May 2002. Subsequently, James has kindly allowed Anthony Fok
|
---|
62 | <anthony@thizlinux.com> <foka@debian.org> to adapt the code
|
---|
63 | for Qt.
|
---|
64 | <p>
|
---|
65 | <p> Copyright (C) 2000 Ming-Che Chuang
|
---|
66 | Copyright (C) 2002 James Su, Turbolinux Inc.
|
---|
67 | Copyright (C) 2002 Anthony Fok, ThizLinux Laboratory Ltd.
|
---|
68 | <p> Redistribution and use in source and binary forms, with or without
|
---|
69 | modification, are permitted provided that the following conditions
|
---|
70 | are met:
|
---|
71 | <ol type=1>
|
---|
72 | <li> Redistributions of source code must retain the above copyright
|
---|
73 | notice, this list of conditions and the following disclaimer.
|
---|
74 | <li> Redistributions in binary form must reproduce the above copyright
|
---|
75 | notice, this list of conditions and the following disclaimer in the
|
---|
76 | documentation and/or other materials provided with the distribution.
|
---|
77 | </ol>
|
---|
78 | <p> THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
|
---|
79 | ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
---|
80 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
---|
81 | ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
---|
82 | FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
---|
83 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
---|
84 | OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
---|
85 | HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
---|
86 | LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
---|
87 | OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
---|
88 | SUCH DAMAGE.
|
---|
89 | <p>See also <a href="i18n.html">Internationalization with Qt</a>.
|
---|
90 |
|
---|
91 | <!-- eof -->
|
---|
92 | <hr><p>
|
---|
93 | This file is part of the <a href="index.html">Qt toolkit</a>.
|
---|
94 | Copyright © 1995-2007
|
---|
95 | <a href="http://www.trolltech.com/">Trolltech</a>. All Rights Reserved.<p><address><hr><div align=center>
|
---|
96 | <table width=100% cellspacing=0 border=0><tr>
|
---|
97 | <td>Copyright © 2007
|
---|
98 | <a href="troll.html">Trolltech</a><td align=center><a href="trademarks.html">Trademarks</a>
|
---|
99 | <td align=right><div align=right>Qt 3.3.8</div>
|
---|
100 | </table></div></address></body>
|
---|
101 | </html>
|
---|