Skip to content
Advertisement

Tag: macos

How to reliably guess the encoding between MacRoman, CP1252, Latin1, UTF-8, and ASCII

At work it seems like no week ever passes without some encoding-related conniption, calamity, or catastrophe. The problem usually derives from programmers who think they can reliably process a “text” file without specifying the encoding. But you can’t. So it’s been decided to henceforth forbid files from ever having names that end in *.txt or *.text. The thinking is that

Advertisement