3 ms·
When I was learning programming in 2008 as a student and was still using my computer in Turkish, the number of Java and PHP programs that did not specify a prop
by okanat 2y ago
When I was learning programming in 2008 as a student and was still using my computer in Turkish, the number of Java and PHP programs that did not specify a proper locale was outrageously large. For whatever messed up reasons they had lowercase / uppercase conversions for importing modules, opening files. Glibc library in Linux systems is also designed by shortsighted people so libc functions like tolower() made conversions in the local locale.
The end result was phpMyAdmin usually failed with "include not found" because its developers did this: include(tolower(MODULE NAME)) and BLABLAINTERFACE was converted into blablaınterface (there is no dot on top of i there look closely). Or Eclipse failed in similar ways since it was searching plugins using locale-dependent functions.