hackertubescom
← 视频目录

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 讨论 ↗