金曜日 3:40 p.m.–4:10 p.m.Room 201 #pyconjp_201
How (and Why) We Speak in Unicode
- Best Practices/Patterns
A brief history of ascii, encoding, and unicode and how unicode and character encoding is done both wrong and right with examples in python 2.7 and 3.x.
Since the Tower of Babel, humanity has spoken in different languages and fumbled to translate from one to another. When it came time to write and display those languages in software, those fumbles continued with inconsistent encodings and standards. Then came Unicode. A standard that answers the needs to multiple encodings while solving the issues of translating between them. Today we can "shrug", "肩をすくめる", " ¯\\\_(ツ)_/¯", and "🤷🏽♀️" all in the same sentence thanks to Unicode. This talk is about the history of encoding and unicode, and how we reason the differences between the two with examples in python.