~/talk

Making Acquaintances with Exotic Encodings

Talkat PyCon AU 2019 · 2019-08-02..08-06· [python, web-platform]
linkedin:tbumi
slides:none on file

Claims that Unicode isn’t universal: many sites and emails still use legacy sets like ISO-8859-1, Windows-1252, Shift_JIS, Big5 or GB2312, while UTF-8 dominates (~93% of websites). Python techniques include using the codecs.encode/decode APIs with error handlers, heuristics from chardet as a last resort, and a maintained static fallback table of observed encodings (company corpus). Empiric numbers: declared encodings succeed ~75%, chardet resolves most of the rest (~98%), and the static table catches the stubborn few.

AI-written summary · about

  1. 0:00Introduction
  2. 2:09What is Encoding
  3. 11:05How Unicode is used
  4. 18:33How Python is used
  5. 24:00Questions
~/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.