PickVids

Pragmatic Unicode, or, How do I stop the pain?

推荐理由

After A TON OF PAIN I decided to put the time in to watch the talk

强烈推荐jteppinette · 原文

说明

这是2012年由Next Day Video发布的一部演讲,主题归在Python, Ruby & scripting languages。它讲的是python unicode这一支里的具体问题,而不是把整个领域扫一遍。适合第一次接触、还没有先修课的人。内容上可以概括成: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.这些读者给出的理由,核心是: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.讲法不绑某一条新闻,过几年仍然可以当材料看。从2015年到2019年,有2位不同的读者在2个不同月份把它推荐出来,其中明确叫别人去看的有1次。适合一次性看完。讲者把一个判断讲透,演示是在给这个判断配例子。如果已经会了基本定义,就把注意力放在它怎么把python unicode变成能跟着复述的例子。

视频信息

频道
Next Day Video
时长
36 分 21 秒
发布年份
2012
在 YouTube 打开

同主题更多

想知道新收录了什么?

可选。只保存这个邮箱,不创建账号,也不拿它登录。