|
Boost : |
Subject: Re: [boost] Silly Boost.Locale default narrowstringencodinginWindows
From: Anders Dalvander (boost_at_[hidden])
Date: 2011-10-29 10:59:55
On 20:59, Alf P. Steinbach wrote:
> Would you like to be the one telling Norwegian student Åshild Bjørnson
> that you favor the notion that she should waste hours or days installing
> Boost and some other nix-oriented library and use 'gettext', in order to
> be able to display her name in her first C++ program?
Or you could only use ASCII in source code, encode the strings in UTF-8
manually using octal escape sequences.
#include <iostream>
int main()
{
std::cout << "\303\205shild Bj\303\270rnson\n";
}
Not that nice to the eye, but anyway...
Regards,
Anders Dalvander
-- WWFSMD?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk