add encoding to standard encodings works different in python 2.5?

"Martin v. Löwis" martin at v.loewis.de
Fri Dec 22 10:33:41 EST 2006


henk-jan ebbers schrieb:
> -   how can i get this to work in 2.5 (nice if it would work in both 2.4
> and 2.5)

You should implement a lookup function, and register it with
codecs.register. Then you can structure your modules any way you like.

Regards,
Martin



More information about the Python-list mailing list