1QBig5Codec(3qt) QBig5Codec(3qt)
2
3
4
6 QBig5Codec - Conversion to and from the Big5 encoding
7
9 #include <qbig5codec.h>
10
11 Inherits QTextCodec.
12
14 The QBig5Codec class provides conversion to and from the Big5 encoding.
15
16 QBig5Codec was originally contributed by Ming-Che Chuang
17 <mingche@cobra.ee.ntu.edu.tw> for the Big-5+ encoding, and was included
18 in Qt with the author's permission, and the grateful thanks of the
19 Trolltech team. (Note: Ming-Che's code is QPL'd, as per an mail to
20 info@trolltech.com.)
21
22 However, since Big-5+ was never formally approved, and was never used
23 by anyone, the Taiwan Free Software community and the Li18nux Big5
24 Standard Subgroup agree that the de-facto standard Big5-ETen
25 (zh_TW.Big5 or zh_TW.TW-Big5) be used instead.
26
27 QBig5Codec is currently implemented as a pure subset of
28 QBig5hkscsCodec, so more fine-tuning is needed to make it identical to
29 the standard Big5 mapping as determined by Li18nux-Big5. See
30 http://www.autrijus.org/xml/ for the draft Big5 (2002) standard.
31
32 James Su <suzhe@turbolinux.com.cn> <suzhe@gnuchina.org> generated the
33 Big5-HKSCS<->Unicode tables with a very space-efficient algorithm. He
34 generously donated his code to glibc in May 2002. Subsequently, James
35 has kindly allowed Anthony Fok <anthony@thizlinux.com>
36 <foka@debian.org> to adapt the code for Qt.
37
38 Copyright (C) 2000 Ming-Che Chuang Copyright (C) 2002 James Su,
39 Turbolinux Inc. Copyright (C) 2002 Anthony Fok, ThizLinux Laboratory
40 Ltd.
41
42 Redistribution and use in source and binary forms, with or without
43 modification, are permitted provided that the following conditions are
44 met: <ol type=1>
45
46 1 Redistributions of source code must retain the above copyright
47 notice, this list of conditions and the following disclaimer.
48
49 2 Redistributions in binary form must reproduce the above
50 copyright notice, this list of conditions and the following
51 disclaimer in the documentation and/or other materials provided
52 with the distribution.
53
54 THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
55 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
56 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
57 PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS
58 BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
59 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
60 SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
61 BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
62 WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
63 OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
64 ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
65
66 See also Internationalization with Qt.
67
68
70 http://doc.trolltech.com/qbig5codec.html
71 http://www.trolltech.com/faq/tech.html
72
74 Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the
75 license file included in the distribution for a complete license
76 statement.
77
79 Generated automatically from the source code.
80
82 If you find a bug in Qt, please report it as described in
83 http://doc.trolltech.com/bughowto.html. Good bug reports help us to
84 help you. Thank you.
85
86 The definitive Qt documentation is provided in HTML format; it is
87 located at $QTDIR/doc/html and can be read using Qt Assistant or with a
88 web browser. This man page is provided as a convenience for those users
89 who prefer man pages, although this format is not officially supported
90 by Trolltech.
91
92 If you find errors in this manual page, please report them to qt-
93 bugs@trolltech.com. Please include the name of the manual page
94 (qbig5codec.3qt) and the Qt version (3.3.8).
95
96
97
98Trolltech AS 2 February 2007 QBig5Codec(3qt)