
21 Jun
2010
21 Jun
'10
12:58 p.m.
On Mon, Jun 21, 2010 at 1:34 PM, Vladimir Prus <vladimir@codesourcery.com> wrote:
Ah, that's what you mean. The problem is that command-line parsing does not have any associated locale other than the global one,
I don't quite understand. reading from std::cin does have an locale, doesn't it? I.e the following is valid: std::cin.imbue(loc);
it would be somewhat awkward to remember a locale associated with source config file.
remember? that's what stream.imbue(loc) does, or not?
Is it common to use different locales for different files?
No, it shoudn't, but happens :) Best regards, Christoph