QGb2312Codec Class

The QGb2312Codec class provides conversion to and from the Chinese GB2312 encoding. More...

Header: #include <QGb2312Codec>
Inherits: QGb18030Codec

Public Functions

Detailed Description

\inmoduleQtCore5Compat \internal

The GB2312 encoding has been superseded by the GB18030 encoding and GB18030 is backward compatible to GB2312. For this reason the QGb2312Codec class is implemented in terms of the GB18030 codec and uses its 0xA1A1-0xFEFE subset for conversion from and to Unicode.

The QGb2312Codec is kept mainly for compatibility reasons with older software.

Member Function Documentation

QGb2312Codec::QGb2312Codec()

Constructs a QGb2312Codec object.