Eneboo - Documentación para desarrolladores
|
The QGbkCodec class provides conversion to and from the Chinese GBK encoding. Más...
#include <qgb18030codec.h>
Métodos públicos | |
QGbkCodec () | |
int | mibEnum () const |
const char * | name () const |
QTextDecoder * | makeDecoder () const |
QCString | fromUnicode (const QString &uc, int &lenInOut) const |
QString | toUnicode (const char *chars, int len) const |
int | heuristicContentMatch (const char *chars, int len) const |
int | heuristicNameMatch (const char *hint) const |
QGbkCodec () | |
int | mibEnum () const |
const char * | name () const |
QTextDecoder * | makeDecoder () const |
QCString | fromUnicode (const QString &uc, int &lenInOut) const |
QString | toUnicode (const char *chars, int len) const |
int | heuristicContentMatch (const char *chars, int len) const |
int | heuristicNameMatch (const char *hint) const |
The QGbkCodec class provides conversion to and from the Chinese GBK encoding.
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.
The GBK encoding has been superceded by the GB18030 encoding and GB18030 is backward compatible to GBK. For this reason the QGbkCodec class is implemented in terms of the GB18030 codec and uses its 1-byte and 2-byte portion for conversion from and to Unicode.
The QGbkCodec is kept mainly for compatibility reasons with older software.
QGbkCodec::QGbkCodec | ( | ) |
QGbkCodec::QGbkCodec | ( | ) |
Reimplementado de QGb18030Codec.
Reimplementado de QGb18030Codec.
Reimplementado de QGb18030Codec.
Reimplementado de QGb18030Codec.
int QGbkCodec::heuristicNameMatch | ( | const char * | hint | ) | const [virtual] |
Reimplementado de QGb18030Codec.
int QGbkCodec::heuristicNameMatch | ( | const char * | hint | ) | const [virtual] |
Reimplementado de QGb18030Codec.
QTextDecoder* QGbkCodec::makeDecoder | ( | ) | const [virtual] |
Reimplementado de QGb18030Codec.
QTextDecoder * QGbkCodec::makeDecoder | ( | ) | const [virtual] |
Reimplementado de QGb18030Codec.
int QGbkCodec::mibEnum | ( | ) | const [virtual] |
Reimplementado de QGb18030Codec.
int QGbkCodec::mibEnum | ( | ) | const [virtual] |
Reimplementado de QGb18030Codec.
const char* QGbkCodec::name | ( | ) | const [virtual] |
Reimplementado de QGb18030Codec.
const char * QGbkCodec::name | ( | ) | const [virtual] |
Reimplementado de QGb18030Codec.
Reimplementado de QGb18030Codec.
Reimplementado de QGb18030Codec.