Class GbkCodec.

Inherits Codec

This class implements a translator between Unicode and GBK (in the EUC-CN encoding). The CP936 data is used for the mapping. This should be merged with the GB2312 codec eventually.

GbkCodec::GbkCodec()

Creates a new GBK Codec object.

Reimplements Garbage::Garbage().

EString GbkCodec::fromUnicode( const UString & u )

Returns the GBK-encoded representation of the UString u.

Reimplements Codec::fromUnicode().

UString GbkCodec::toUnicode( const EString & s )

Returns the Unicode representation of the EString s.

Reimplements Codec::toUnicode().

This web page based on source code belonging to The Archiveopteryx Developers. All rights reserved.