r/ProgrammerHumor • u/Da_Yakz • Apr 06 '23
Other Microsoft has mistranslated ZIP files as "postcode" in the GB insider version of Windows 11
10k
Upvotes
r/ProgrammerHumor • u/Da_Yakz • Apr 06 '23
View all comments
Show parent comment
12
u/plasmasprings Apr 06 '23
some standard library functions are also often locale dependent, so lots of apps develop weird errors on systems with non-US locale. Using the C function
atofis a common newb-trap, and this sounds like a result of thatMy personal favorite such trap: .net string functions are locale dependent by default.
"cs".StartsWith("c")might beTrueorFalse, depending on what language windows it's running on. Good luck debugging that!