~/talk

Mojibake! What the h—ck happened to these strings?

Talkat !!Con 2021 · 2021-05-15..05-22· [python]
links:none on file
slides:none on file

A Python module called ftfy detects and undoes real-world mojibake — including piled-up cases that require decoding three layers to recover the original text — by applying hand-tuned heuristics and a big regexy “badness” metric rather than ML. It identifies common failure modes (Excel CSV exports, Windows 1252 misdecodes, broken heuristics like chardet), restores emojis and punctuation reliably, and claims false positives on the order of once in several gigabytes.

AI-written summary · about

  1. 0:00Mojibake and ftfy intro
  2. 1:03ASCII and extended encodings
  3. 3:53Unicode and UTF-8
  4. 5:39How UTF-8 mojibake happens
  5. 7:26Fixing mojibake with ftfy
  6. 8:30Detecting mojibake patterns
  7. 9:39Root causes of mojibake
  8. 10:42Excel and mojibake
  9. 11:24Preventing mojibake
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.