py2exe and croatian letters

Benjamin Kaplan benjamin.kaplan at
Sat Oct 17 16:14:09 CEST 2009

On Sat, Oct 17, 2009 at 4:58 AM, Samir Alukovic at work
<a.dexterlab at> wrote:
> I am making a simple program in Croatian. In the beginning I set "# -
> *- coding: cp1250 -*-" code and when i run it in Python shell it comes
> out fine, but when i compile it with py2exe he doesn't print out
> croatian letters but he prints out tottaly other letters. I checked
> the CMD and it supports croatian letters. If you want an source code
> and setup file send me an e-mail at a.dexterlab at

What's the encoding of cmd? Just because it supports Croatian letters
doesn't mean it's cp1250. The American version of Windows usually uses
cp1252 but cmd is still cp843.

More information about the Python-list mailing list