All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

How a Turkish Alphabet Bug Hid in the Kotlin Compiler for Five Years

By

Bogdanp

7mo ago· 19 min readenInsight

Summary

A Turkish software engineer, Mehmet Nuri Öztürk, reported a Kotlin standard library bug in March 2016 that turned out to be a complex, language-specific issue involving the Turkish alphabet. The bug, which caused builds to fail for Turkish-speaking developers, took five years to fully identify and fix within the Kotlin compiler. The article explores how locale-sensitive string operations (specifically the Turkish 'i' and 'I' letter case mappings) created a subtle but dangerous bug that evaded detection for years, highlighting the challenges of internationalization in programming languages.

Key quotes

· 3 pulled
When Turkish software engineer Mehmet Nuri Öztürk posted a short message on the Kotlin discussion forum in March of 2016, he had no idea he was reporting a dangerous standard library bug that would take five years to find and fix.
All he knew was that his build didn't work.
Logic vs language: how a Turkish alphabet bug played a years-long game of hide-and-seek inside the Kotlin compiler
Snippet from the RSS feed
The Country That Broke Kotlin Logic vs language: how a Turkish alphabet bug played a years-long game of hide-and-seek inside the Kotlin compiler When Turkish software engineer Mehmet Nuri Öztürk …

You might also wanna read