Content deleted Content added
Artoria2e5 (talk | contribs) →UTF-8: reword, mention programs can change their own cp but not the locale cp |
→UTF-8: Delete mention of what explicitly does not work. You cannot change the "code page" to UTF-8 |
||
Line 18:
== UTF-8 ==
Although the locale can be set so the 'M' encodings handle ''some'' multi-byte encodings, it is not possible to set them to use [[UTF-8]] ([[code page 65001]]) which is only used for explicit conversion functions such as MultiByteToWideChar
There are proposals to add an API to portable libraries such as [[Boost (C++ libraries)|Boost]] to do the necessary conversion, by adding new functions for opening and renaming files. These functions would pass filenames through unchanged on Unix, but translate them to UTF-16 on Windows.<ref>{{cite web|url=http://cppcms.com/files/nowide/html/|title=Boost.Nowide}}</ref>
|