Linux Unicode , IO UTF-8, - 32 . Java , UTF-16.
Unicode, . OpenRTL http://code.google.com/p/openrtl, UTF-8, UTF-16 UTF- 32 windows, Linux, Osx Ios. Unicode - , , , , , 64 32- .
OpenRTL char8_t, char16_t char32_t ++, C ++. , Unicode , .
, OpenRTL, char_t OpenRTL. , UTF8, UTF16 UTF32 Linux, OpenRTL , io. , print_f.
By default, char_t displays a wide character type. So in windows it is 32 bits, and in Linux - 32 bits. But you can make it also make it 8 bits everywhere, for example. It also supports fast decoding of UTF inside loops using macros.
So, instead of ifdeffing between wchar_t and char you can build everything using char_t, and OpenRTL will take care of the rest.
source
share