hackertubescom
← o catálogo

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

Next Day Video · 2 recomendações no HN

Perguntas sobre o vídeo

Peça à IA para explicar esta cena ou resumir o vídeo inteiro. Se a resposta tiver marcações de tempo, selecione uma para ir ao trecho.

Experimente perguntar: O que a pessoa está explicando aqui?

Entre com o Google. Confira o custo máximo em créditos antes de confirmar.

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.

Por que o HN recomenda: 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” Ler no HN ↗