unicode by default

jmfauth wxjmfauth at gmail.com
Fri May 13 02:28:09 EDT 2011


On 12 mai, 18:17, Ian Kelly <ian.g.ke... at gmail.com> wrote:

> ...
> to worry about encodings are when you're encoding unicode characters
> to byte strings, or decoding bytes to unicode characters


A small but important correction/clarification:

In Unicode, "unicode" does not encode a *character*. It
encodes a *code point*, a number, the integer associated
to the character.

jmf




More information about the Python-list mailing list