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