Python parsing iTunes XML/COM
Stefan Behnel
stefan_ml at behnel.de
Wed Jul 30 16:51:16 EDT 2008
william tanksley wrote:
> Okay, so you decode to go from raw
> byes into a given encoding, and you encode to go from a given encoding
> to raw bytes.
No, decoding goes from a byte sequence to a Unicode string and encoding goes
from a Unicode string to a byte sequence.
Unicode is not an encoding. A Unicode string is a character sequence, not a
byte sequence.
Stefan
More information about the Python-list
mailing list