py2exe: LookupError: no codec search function registered

Thomas Guettler zopestoller at thomas-guettler.de
Tue Mar 25 15:58:12 CET 2003


Hi!

My script works fine, but if I use the exe created
by py2exe, I get:

LookupError: no codec search functions registered: can't find encoding

The code:
   unicode(bulg, "windows-1251").encode("utf-8")

Any hints?

   thomas





More information about the Python-list mailing list