Skip to content

Utf8

Synopsis

Declared in <SageIII/Utf8.h>

class Utf8;

Types

Name

Description

BadUnicodeException

Class thrown when a Unicode character is encountered.

BadUtf8CodeException

Class thrown when a bad Utf8 sequence is encountered.

Static Member Functions

Name

Description

getCharSize

Compute the number of bytes that was required to store a UTF8 character sequence that starts with the character c.

getUnicodeValue

Compute the code value of a Unicode character encoded in UTF8 format in the array of characters "bytes".

getUtf8String

Convert a unicode character into its Utf8 representation.

Private Static Member Functions

Name

Description

getUnicodeValue

Compute the code value of a Unicode character encoded in UTF8 format in the array bytes starting. "size" indicates the number of ASCII characters that was required to represent the Unicode char in question.

Created with MrDocs