1QBig5hkscsCodec(3qt) QBig5hkscsCodec(3qt)
2
3
4
6 QBig5hkscsCodec - Conversion to and from the Big5-HKSCS encoding
7
9 #include <qbig5codec.h>
10
11 Inherits QTextCodec.
12
14 The QBig5hkscsCodec class provides conversion to and from the
15 Big5-HKSCS encoding.
16
17 QBig5hkscsCodec grew out of the QBig5Codec originally contributed by
18 Ming-Che Chuang <mingche@cobra.ee.ntu.edu.tw>. James Su
19 <suzhe@turbolinux.com.cn> <suzhe@gnuchina.org> and Anthony Fok
20 <anthony@thizlinux.com> <foka@debian.org> implemented HKSCS-1999
21 QBig5hkscsCodec for Qt-2.3.x, but it was too late in Qt development
22 schedule to be officially included in the Qt-2.3.x series.
23
24 Wu Yi <wuyi@hancom.com> ported the HKSCS-1999 QBig5hkscsCodec to
25 Qt-3.0.1 in March 2002.
26
27 With the advent of the new HKSCS-2001 standard, James Su
28 <suzhe@turbolinux.com.cn> <suzhe@gnuchina.org> generated the
29 Big5-HKSCS<->Unicode tables with a very space-efficient algorithm. He
30 generously donated his code to glibc in May 2002. Subsequently, James
31 has generously allowed Anthony Fok to adapt the code for Qt-3.0.5.
32
33 Currently, the Big5-HKSCS tables are generated from the following
34 sources, and with the Euro character added: <ol type=1>
35
36 1 http://www.microsoft.com/typography/unicode/950.txt
37
38 2 http://www.info.gov.hk/digital21/chi/hkscs/download/big5-iso.txt
39
40 3 http://www.info.gov.hk/digital21/chi/hkscs/download/big5cmp.txt
41
42 There may be more fine-tuning to the QBig5hkscsCodec to maximize its
43 compatibility with the standard Big5 (2002) mapping as determined by
44 Li18nux Big5 Standard Subgroup. See http://www.autrijus.org/xml/ for
45 the various Big5 CharMapML tables.
46
47 Copyright (C) 2000 Ming-Che Chuang Copyright (C) 2001, 2002 James Su,
48 Turbolinux Inc. Copyright (C) 2002 WU Yi, HancomLinux Inc. Copyright
49 (C) 2001, 2002 Anthony Fok, ThizLinux Laboratory Ltd.
50
51 Redistribution and use in source and binary forms, with or without
52 modification, are permitted provided that the following conditions are
53 met: <ol type=1>
54
55 4 Redistributions of source code must retain the above copyright
56 notice, this list of conditions and the following disclaimer.
57
58 5 Redistributions in binary form must reproduce the above
59 copyright notice, this list of conditions and the following
60 disclaimer in the documentation and/or other materials provided
61 with the distribution.
62
63 THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
64 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
65 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
66 PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS
67 BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
68 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
69 SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
70 BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
71 WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
72 OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
73 ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
74
75
77 http://doc.trolltech.com/qbig5hkscscodec.html
78 http://www.trolltech.com/faq/tech.html
79
81 Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the
82 license file included in the distribution for a complete license
83 statement.
84
86 Generated automatically from the source code.
87
89 If you find a bug in Qt, please report it as described in
90 http://doc.trolltech.com/bughowto.html. Good bug reports help us to
91 help you. Thank you.
92
93 The definitive Qt documentation is provided in HTML format; it is
94 located at $QTDIR/doc/html and can be read using Qt Assistant or with a
95 web browser. This man page is provided as a convenience for those users
96 who prefer man pages, although this format is not officially supported
97 by Trolltech.
98
99 If you find errors in this manual page, please report them to qt-
100 bugs@trolltech.com. Please include the name of the manual page
101 (qbig5hkscscodec.3qt) and the Qt version (3.3.8).
102
103
104
105Trolltech AS 2 February 2007 QBig5hkscsCodec(3qt)