Boost logo

Boost Users :

From: Tomaž Šolc (tomaz.solc_at_[hidden])
Date: 2007-11-16 08:04:29


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi

> Nothing: it looks like a bug, the current implementation was changed to use
> the C++ locale by default, but I forgot to change the POSIX API's to
> explicitly use the C locale. Try setting std::locale::global to the
> required locale and that should then work (provided your C++ std library
> supports all the locales that setlocale does).

Changing:

setlocale(LC_ALL, "en_US.utf8");

to:

std::locale en("en_US.utf8");
std::locale::global(en);

fixed the problem. Thanks.

> It's probably a bit late to fix this for 1.35, but will you please open a
> Track issue at svn.boost.org so I don't forget about this?

I opened ticket #1446

Best regards
Tomaz Solc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHPZVdsAlAlRhL9q8RAt7DAJ4jadXslEmeM3xe4MMENBSwPAcaMACgsw7t
tMivJk8D0np/dkhqP23jUkk=
=b/vR
-----END PGP SIGNATURE-----


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net