On 6/14/11 11:20 AM, Jonathan M Davis wrote:
On 2011-06-14 01:51, David Nadlinger wrote:
But the functions in<ctype.h> do. And there can be some
locale-dependent problems even if you use only ASCII, the most prominent
being the different handling of »i« in the Turkish locale:
http://www.i18nguy.com/unicode/turkish-i18n.html
This is probably another reason why it shouldn't be called std.ctype…
From the looks of it, that affects extended ASCII but not ASCII (since the
Turkish uppercase I isn't even in ASCII). It's definitely a great link though.
Thanks!
Oh, I was probably a bit unclear – what I meant is that it affects you
also if you use only ASCII input, since toupper('i') == 221 when your
locale is tr_TR.ISO-8859-9.
David