3 ms·
#ifdefing a leaky abstraction that can be either UTF-8 or UTF-16 would be pretty horrible to work with. For a more workable approach read this article, especia
by the_why_of_y 11y ago
#ifdefing a leaky abstraction that can be either UTF-8 or UTF-16 would be pretty horrible to work with.
For a more workable approach read this article, especially the section "How to do text on Windows".
http://utf8everywhere.org/ http://utf8everywhere.org/