[Pythonmac-SIG] codecs
Yannis Haralambous
yannis.haralambous at enst-bretagne.fr
Tue Sep 9 08:31:33 EDT 2003
Thank you Just for your answer,
when I do:
>unicode("a","utf8")
I get:
>Traceback (most recent call last):
> File "<stdin>", line 1, in ?
>LookupError: no codec search functions registered: can't find encoding
even after an "import encodings", and an "import codecs"
I'm using:
>Python 2.3 (#1, Sep 8 2003, 10:13:34)
>[GCC 3.1 20020420 (prerelease)] on darwin
under MacOS X 10.2.6
I checked and there is indeed a codecs.py in /sw/lib/python2.3 and an
encodings directory /sw/lib/python2.3/encodings/
is this a bug in the python distribution for Darwin? Or am I doing
something wrong?
+--------------------------------------------------------------------+
| Yannis Haralambous, Ph.D. yannis.haralambous at enst-bretagne.fr |
| Professor http://omega.enstb.org/yannis |
| Tel. +33 (0)2.29.00.14.27 |
| Fax +33 (0)2.29.00.12.82 |
| Computer Science Department |
| Ecole Nationale Superieure des Telecommunications de Bretagne |
| Technopole de Brest Iroise, CS 83818, 29238 Brest CEDEX 3, France |
+--------------------------------------------------------------------+
...pour distinguer l'exterieur d'un aquarium,
mieux vaut n'etre pas poisson
...the ball I threw while playing in the park
has not yet reached the ground
More information about the Pythonmac-SIG
mailing list