[Python-Dev] Unicode decode exception

Terry Reedy tjreedy at udel.edu
Mon Dec 1 00:43:34 CET 2014


On 11/30/2014 3:07 AM, balaji marisetti wrote:
> Hi,
>
> When I try to iterate through the lines of a
> file("openssl-1.0.1j/crypto/bn/asm/x86_64-gcc.c"), I get a
> UnicodeDecodeError (in python 3.4.0 on Ubuntu 14.04). But there is no
> such error with python 2.7.6. What could be the problem?

Questions about using current version should be directed to python-list 
or other support forums.  Py-dev is for development of future versions 
and releases.

-- 
Terry Jan Reedy



More information about the Python-Dev mailing list