Boost logo

Boost :

Subject: Re: [boost] Silly Boost.Locale default narrow string encoding in Windows
From: Peter Dimov (pdimov_at_[hidden])
Date: 2011-10-27 12:47:42

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.)

Boost list run by bdawes at, gregod at, cpdaniel at, john at