News for hackers. Stuff that matters.
Re:PHP Bug #18556 : Setting locale to 'tr_TR' lowercases cla... by dasil003 on Monday July 02, 2012 @04:33AM (#4187942)
I know it seems insane, but Turkish capitalization is not fun to work with as a programmer. When they latinized the alphabet 100 years ago or so, they were short on vowels and so it must have seemed pretty clever and convenient to make i and I separate letters with İ and ı respective case pairs. From a western programmers perspective though it's one of the worst unicode special cases owing to its combined unexpectedness and commonness.

Just as an example, text-transform: uppercase has been broken in Turkish for all major browsers until I believe Firefox finally fixed it late last year, after having a bug open for nearly a decade.

Re:PHP Bug #18556 : Setting locale to 'tr_TR' lowercases cla... by zokier on Monday July 02, 2012 @06:53AM (#4188290)
From my point of view there could be one very simple solution: just add new codepoints in unicode for turkish I and i. So the latin i would follow the common case conventions, and turkish i would use whatever crazy stuff they have there.

Of course that might be bit late to do now, there is probably too much text encoded in the current format.

Re:PHP Bug #18556 : Setting locale to 'tr_TR' lowercases cla... by mtts on Monday July 02, 2012 @08:41AM (#4188585)
It's probably a bit late, agreed, but it seems to me this problem is just as much the fault of the encoding itself as it is the fault of PHP : Turkish i and I may look like Western European i and I but they're entirely different characters.
Re:PHP Bug #18556 : Setting locale to 'tr_TR' lowercases cla... by jeltz on Monday July 02, 2012 @07:18AM (#4188362)
If they only had used Ï and ï instead everything would have been much simpler.
Re:PHP Bug #18556 : Setting locale to 'tr_TR' lowercases cla... by obilgic on Monday July 02, 2012 @04:46AM (#4187987)
Just my curiosity, how do you know that they were short on vowels?