[ python-Bugs-1325491 ] binary code made by freeze results "unknown encoding"
SourceForge.net
noreply at sourceforge.net
Thu Oct 13 11:45:21 CEST 2005
Bugs item #1325491, was opened at 2005-10-13 16:45
Message generated for change (Settings changed) made by perky
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1325491&group_id=5470
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Demos and Tools
Group: Python 2.4
>Status: Closed
>Resolution: Invalid
Priority: 5
Submitted By: greatPython (samsjang)
Assigned to: Nobody/Anonymous (nobody)
Summary: binary code made by freeze results "unknown encoding"
Initial Comment:
One of my python code is like the following.
** mysrc.py **
str = 'I love Python'
print str.encode('UTF-8')
** **
this code runs well in python shell. But binary made by
freeze.py results the following.
Traceback (most recent call last):
File "/home/samy/src/mysrc.py", line 2, in ?
print str.encode('UTF-8')
LookupError: unknown encoding: UTF-8
----------------------------------------------------------------------
>Comment By: Hye-Shik Chang (perky)
Date: 2005-10-13 18:45
Message:
Logged In: YES
user_id=55188
It's not a bug. You should force freeze to include
"encoding" package.
See http://www.google.com/search?q=freeze+%22unknown+encoding%22
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1325491&group_id=5470
More information about the Python-bugs-list
mailing list