UTF Questions
Serge Orlov
Serge.Orlov at gmail.com
Mon Mar 21 10:20:56 EST 2005
Fuzzyman wrote:
> I have a couple of questions about the UTF encodings.
>
> The codecs module has constants definded for the UTF32 encoding, yet
> this encoding isn't supported as a standard encoding. Why isn't it
> supported ?
Probably because there is little demand for it. The most widespread
unicode encodings are utf-8 and utf-16
>
> It possibly has something to do with my next question. I know that
> unicode has (recently?) been expanded to include new character sets.
> This means that the latest unicode standard can't be fully supported
> with 2 bytes per character. As far as I know though, Python doesn't
> (yet) support the extended version of unicode anyway ? Am I correct ?
Python does support them. PEP 261 has the answers for your questions.
Serge.
More information about the Python-list
mailing list