2 days ago
p3k dots

I ♥ localızatıon!

The Country ¹ That Broke Kotlin.

  • If your computer is configured in English, "INFO".toLowerCase() is "info", just like we wanted.
  • But if your computer is configured in Turkish, "INFO".toLowerCase() turns out to be "ınfo".

Notice the difference? In the Turkish version, the lower case letter ‘ı’ has no dot above it.

¹ Rather: the language. Or rather: falsehoods programmers believe about localization.