[ python-Bugs-1325491 ] binary code made by freeze results "unknown encoding"

SourceForge.net noreply at sourceforge.net
Thu Oct 13 09:45:19 CEST 2005


Bugs item #1325491, was opened at 2005-10-13 16:45
Message generated for change (Tracker Item Submitted) made by Item Submitter
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: Open
Resolution: None
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

----------------------------------------------------------------------

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