|
Sets the character encoding used to interpret the string values in the SDK. The default value is UTF-8. Providing an empty string sets the character encoding to the default.
An InvalidUseException is thrown if the provided character set is an unknown encoding, or an encoding with a code unit larger than 8 bits.
virtual void setCharacterEncoding(const char* characterEncoding) = 0;
Parameters |
Description |
const char* characterEncoding |
The character encoding to use to interpret the string values in the SDK. |
Use setCurrentLocaleCharacterEncoding to set the character encoding of the current locale.