No encodings after freezing
mmf
mf1987 at arcor.de
Mon May 23 11:14:29 EDT 2005
Hi.
I have the following script (for example):
#!/usr/bin/python
text = 'Hallo'
text_new = text.encode('utf_8')
print text_new
The I tried to "freeze" this script with cx_freeze 3.0.1 (command
./FreezePython example.py).
Everything worked finde, a binary was created correctly.
But everytime I run this binary the utf-8 encoding cannot be found.
(Also any other encoding like iso8859_15 cannot be found...)
What am I doing wrong?
Thank.
Best regards,
Markus
More information about the Python-list
mailing list