Link
There's been a bug with using the Turkish locale tr_TR in PHP since 2002»
Türküz ya, konuya bu vesileyle dikkat çekmek istedim.
Ayrıca not: Skati malı İstanbul’da bir Türk’ten almış.
At some point internally, PHP converts function and class names to their lowercase equivalent. According to this page, Turkish has two forms of the letter “i”, which are apparently not interchangeable.
This all, of course, means that any function or class with a capital “i” in it’s name will appear undefined when using a Turkish locale. Fun!
The simplest workaround seems to be just setting
LC_CTYPEback toen_USwhen using thetr_TRlocale.
via Jacob Bijani.
-
alhadis reblogged this from jacob and added:
en instead, since...entire world actually doesn’t revolve around America.
-
exphazox liked this
-
feelingtheblanks reblogged this from jacob and added:
Türküz ya, konuya bu vesileyle dikkat çekmek istedim. Ayrıca not: Skati malı İstanbul’da bir Türk’ten almış.
-
jenna liked this
-
dhotson liked this
-
wylie said:
Does this mean Tumblr is going to be adding support for Turkish soon, or just that you were looking through old PHP bugs?
-
nickdivers said:
COOL Str_TRY BRO
-
n-i-k-o-l-e liked this
-
llbwwb liked this
-
jstn liked this
-
david liked this
-
serratonin liked this
-
serratonin said:
I’m Turkish !! ahh !!!! :)
-
ben said:
How about no one uses PHP in Turkey or on Turkish sites.
-
200 said:
I really like obscure PHP bugs. And really old bugs even more. The best bugs are marked as ‘bogus’ (and then get fixed two version later).
-
jacob posted this