Converting a legacy PHP project from windows-1250 to UTF-8: lessons from practice
Many Czech websites and e-shops were built when windows-1250, the legacy Central European encoding, was the norm. Today such a project holds you back: new libraries expect UTF-8, PHP 8.5 emits a warning on every request because of the old setting, and e-mails arrive with garbled characters. In autumn 2026 I converted several of these projects – here are the places where the conversion really breaks. Read article