Pragmatic Unicode, or, How do I stop the pain?
Next Day Video · 2 件のHN推薦
動画への質問
現在の場面の解説や、動画全体の要約を AI に頼めます。回答にタイムスタンプがある場合は、選択するとその場面に移動します。
質問例:ここで話し手は何を説明していますか?
Google でのログインが必要です。確定前に消費クレジットの上限を確認できます。
Ned Batchelder's PyCon 2012 talk gives a quick overview of what Unicode is, then focuses on what a Python programmer needs to handle text correctly. It presents the 'Unicode sandwich' strategy: decode bytes at input, work with Unicode internally, encode at output.
HNで推薦される理由: Commenters point to it as the clearest explanation of Python's bytes versus Unicode model and the Unicode sandwich, which finally makes the confusion click.
“After A TON OF PAIN I decided to put the time in to watch the talk” HNのコメントを読む ↗