Boost logo

Boost :

Subject: Re: [boost] Silly Boost.Locale default narrowstringencodinginWindows
From: Alf P. Steinbach (alf.p.steinbach+usenet_at_[hidden])
Date: 2011-10-28 11:47:57


On 28.10.2011 15:00, Peter Dimov wrote:
> Yakov Galka wrote:
>> Personally I'm happy with
>>
>> printf( "Blåbærsyltetøy! 日本国 кошка!\n" );
>>
>> writing UTF-8. Even if I cannot configure the console, I still can
>> redirect
>> it to a file, and it will correctly save this as UTF-8.
>
> You can configure the console. Select Consolas or Lucida Console as the
> font, then issue chcp 65001. chcp 65001 apparently breaks .bat files
> though. :-)

it break a hell of a lot more than batch files. try `more`.

cheers & hth.,

- Alf


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk