Class Utf8Codec.

Inherits Codec. Inherited by PgUtf8Codec.

The Utf8Codec class implements the codec described in RFC 2279

This is also the same as in the Unicode book, but this implementation follows RFC 2279.

Overlong forms (e.g. 0xC0 Ox80 for U+0000) are allowed by the decoder, but considered badly formed.


Constructs a simple UTF8 decoder/encoder.

Reimplements Garbage::Garbage().

UString Utf8Codec::toUnicode( const EString & s )

Decodes the UTF-8 string s and returns the result.

Reimplements Codec::toUnicode().

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