Boost logo

Boost :

Subject: Re: [boost] Silly Boost.Locale default narrowstringencodinginWindows
From: Peter Dimov (pdimov_at_[hidden])
Date: 2011-10-28 09:00:57


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


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