Turkish-specific text bugs such as dotted and dotless i and number parsing can slip past testing
A DEV Community article describes twelve silent bugs that appear in software built for Turkish users, where code may run and pass tests yet still produce wrong output. The Turkish alphabet has distinct letters for dotted and dotless i, so default case conversion in JavaScript, PHP and Python can yield incorrect results. The author also covers sorting, accent stripping that drops the dotless ı, and slug generation, each with suggested code fixes. Other issues include Turkish-written text typed in plain ASCII and the reversed thousands and decimal separators, which cause amounts to be misparsed. The piece offers locale-aware functions and explicit character mappings as remedies.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in