Trouble writing custom text codec
Martin von Loewis
loewis at informatik.hu-berlin.de
Thu Feb 28 10:18:18 EST 2002
jhorneman at pobox.com (Jurie Horneman) writes:
> Why does my custom text codec, which I have based on an existing,
> working codec as recommended by the documentation, work with
> codecs.open() but not with MyString.decode(), where as the built-in
> codecs do?
Can you report the return value of codecs.open? It looks like you are
returning the wrong type of things.
Regards,
Martin
More information about the Python-list
mailing list