![]() |
MapLink Pro 11.1.1.0.
Envitia MapLink Pro: The Ultimate Mapping Application Toolkit
|
Provides a simple string wrapper which helps convert strings in UTF-8 to various character encodings.
The string value can be retrieved as a const char*, in a given encoding, or as a const wchar_t*, for which the encoding is platform-dependent.
Public Member Functions | |
TSLUTF8Decoder (const char *utf8String, unsigned int length=0) | |
TSLUTF8Decoder (const std::string &utf8String) | |
~TSLUTF8Decoder () | |
operator const wchar_t * () | |
operator wchar_t * () | |
operator const char * () | |
operator char * () | |
|
inline |
Creates a decoder given a string, encoded as UTF-8.
utf8String | The input string value, in UTF-8. |
length | The length of the input string, in characters. |
|
inline |
Creates a decoder given a string, encoded as UTF-8.
utf8String | The input string value, in UTF-8. |
|
inline |
|
inline |
Gets the string value, in the current system codepage
|
inline |
Gets the string value, in the current system codepage
|
inline |
Gets the string value, as a widechar-based string.
Note: The character encoding of a widechar-based string is platform-dependent.
|
inline |