-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Micah Cowan wrote: > This would > end up doing the right thing if the locale is UTF-8 but the input string > is in ISO-8859-1.
Er, if the locale is UTF-8 or similar and wide characters are using native-order Unicode to represent their values in wchar_t's. - -- Micah J. Cowan Programmer, musician, typesetting enthusiast, gamer... http://micah.cowan.name/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHq6UQ7M8hyUobTrERAiluAJ0Sm+kJ4j9m+LC4SVcea/Dc0F1LTQCaAr+m k9ZaLUEKuoAoL2O1pjyomKs= =DL8M -----END PGP SIGNATURE-----