1QSjisCodec(3qt) QSjisCodec(3qt)
2
3
4
6 QSjisCodec - Conversion to and from Shift-JIS
7
9 All the functions in this class are reentrant when Qt is built with
10 thread support.</p>
11
12 #include <qsjiscodec.h>
13
14 Inherits QTextCodec.
15
16 Public Members
17 virtual const char * mimeName () const
18 QSjisCodec ()
19 ~QSjisCodec ()
20
22 The QSjisCodec class provides conversion to and from Shift-JIS.
23
24 More precisely, the QSjisCodec class subclasses QTextCodec to provide
25 support for Shift-JIS, an encoding of JIS X 0201 Latin, JIS X 0201 Kana
26 or JIS X 0208.
27
28 The environment variable UNICODEMAP_JP can be used to fine-tune
29 QJisCodec, QSjisCodec and QEucJpCodec. The QJisCodec documentation
30 describes how to use this variable.
31
32 Most of the code here was written by Serika Kurusugawa, a.k.a. Junji
33 Takagi, and is included in Qt with the author's permission and the
34 grateful thanks of the Trolltech team. Here is the copyright statement
35 for the code as it was at the point of contribution. Trolltech's
36 subsequent modifications are covered by the usual copyright for Qt.
37
38 Copyright (C) 1999 Serika Kurusugawa. All rights reserved.
39
40 Redistribution and use in source and binary forms, with or without
41 modification, are permitted provided that the following conditions are
42 met: <ol type=1>
43
44 1 Redistributions of source code must retain the above copyright
45 notice, this list of conditions and the following disclaimer.
46
47 2 Redistributions in binary form must reproduce the above
48 copyright notice, this list of conditions and the following
49 disclaimer in the documentation and/or other materials provided
50 with the distribution.
51
52 THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS "AS IS". ANY
53 EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
54 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
55 PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS
56 BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
57 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
58 SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
59 BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
60 WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
61 OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
62 ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
63
64 See also Internationalization with Qt.
65
68 Creates a Shift-JIS codec. Note that this is done automatically by the
69 QApplication, you do not need construct your own.
70
72 Destroys the Shift-JIS codec.
73
75 Returns the codec's mime name.
76
77 Reimplemented from QTextCodec.
78
79
81 http://doc.trolltech.com/qsjiscodec.html
82 http://www.trolltech.com/faq/tech.html
83
85 Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the
86 license file included in the distribution for a complete license
87 statement.
88
90 Generated automatically from the source code.
91
93 If you find a bug in Qt, please report it as described in
94 http://doc.trolltech.com/bughowto.html. Good bug reports help us to
95 help you. Thank you.
96
97 The definitive Qt documentation is provided in HTML format; it is
98 located at $QTDIR/doc/html and can be read using Qt Assistant or with a
99 web browser. This man page is provided as a convenience for those users
100 who prefer man pages, although this format is not officially supported
101 by Trolltech.
102
103 If you find errors in this manual page, please report them to qt-
104 bugs@trolltech.com. Please include the name of the manual page
105 (qsjiscodec.3qt) and the Qt version (3.3.8).
106
107
108
109Trolltech AS 2 February 2007 QSjisCodec(3qt)