; , wchar_t 16 UTF-16. Windows Microsoft Visual ++ ( ++), wchar_t - 32 OS X GCC ( ). - , . Unicode (ICU) unicode. ( ): libiconv.
, ... , UTF-16, "unicode-escape ASCII" ( ASCII, "\ u", ), :
for each codepoint represented by the UTF-16 encoded string:
if the codepoint is in the range [0,0x7F]:
emit the codepoint casted to a char
else:
emit "\u" followed by the hexadecimal digits representing codepoint
, , ... UTF-16 , " ", . , " " " " . , UTF-8 UTF-16 ... 32 , . Unicode Transformation Format (UTF) , .