
27 Oct
2011
27 Oct
'11
4:47 p.m.
Alf P. Steinbach wrote:
However, I still ask:
why FORCE INEFFICIENCY & AWKWARDNESS on Boost users -- why not just do it right, using the platforms' native encodings.
Comment out the imbue line. (The platform's native encoding is UTF-16. The "ANSI" code page, which is not necessarily ANSI or ANSI-like at all, despite your assertion, is not "native"; the OS just converts from/to it as needed. Your program will work fine until it's given a file name that is not representable in the ANSI CP.)