Converting string with UTF-8 to Unicode?

Gerhard Häring gerhard.haering at opus-gmbh.net
Tue Feb 11 02:51:51 EST 2003


Grumfish <nobody at nowhere.com> wrote:
> Thank you. Another question, what encodings does Python come with?

#v+
C:\>python
Python 2.2.2 (#37, Oct 14 2002, 17:02:34) [MSC 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import encodings
>>> help(encodings)
NAME
    encodings - Standard "encodings" Package

FILE
    c:\python22\lib\encodings\__init__.py

DESCRIPTION
        Standard Python encoding modules are stored in this package
        directory.
[...]
    cp037
    cp1006
[...]
    hex_codec
    iso8859_1
[...]
    iso8859_15
    koi8_r
[...]
    utf_16
    utf_16_be
    utf_16_le
    utf_7
    utf_8
    uu_codec
    zlib_codec
#v-

-- Gerhard




More information about the Python-list mailing list