Scaleform::UTF8Util

Scaleform::UTF8Util

UTF-8 Unicode character encoding/decoding support.

Functions
Function 
Description 
Returns the next Unicode character in the UTF-8 encoded buffer. 
Returns the next Unicode character in the UTF-8 encoded buffer. 
Decode UTF-8 into a wchar_t buffer. Characters over 0xFFFF are replaced with 0xFFFD. 
Encodes the given UCS character into the given UTF-8 buffer. 
Encodes a Unicode (UCS-2 only) string into a buffer. 
Converts UTF-8 character index into byte offset. 
Gets a decoded UTF-8 character at index. 
Determines the number of bytes necessary to encode a UCS character. 
Determines the number of bytes necessary to encode a string. Does not count the terminating 0 (null) character. 
Determines the length of UTF-8 string in characters.