Boost logo

Boost :

Subject: Re: [boost] [boost[program options] locale support
From: Christoph Heindl (christoph.heindl_at_[hidden])
Date: 2010-06-21 08:58:15

On Mon, Jun 21, 2010 at 1:34 PM, Vladimir Prus
<vladimir_at_[hidden]> 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:


> 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,

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