Re: [Python-Dev] Unicode decode exception

2014-11-30 Thread Michael Torrie
On 11/30/2014 09:19 PM, balaji marisetti wrote: > The default encoding is "UTF-8". It works if I do: > > with open("filename", errors="ignore") as f: > > > So I think Python2, by default, ignores all errors whereas Python3 doesn't Do you mean that the file is supposed to be utf-8 but is

Re: [Python-Dev] Unicode decode exception

2014-11-30 Thread balaji marisetti
The default encoding is "UTF-8". It works if I do: with open("filename", errors="ignore") as f: So I think Python2, by default, ignores all errors whereas Python3 doesn't On 1 December 2014 at 01:49, Chris Angelico wrote: > On Sun, Nov 30, 2014 at 7:07 PM, balaji marisetti > wrote: >>

Re: [Python-Dev] Unicode decode exception

2014-11-30 Thread Chris Angelico
On Sun, Nov 30, 2014 at 7:07 PM, balaji marisetti wrote: > Hi, Hi. This list is for the development *of* Python, not development *with* Python, so I'm sending this reply also to python-list@python.org where it can be better handled. You'll probably want to subscribe here: https://mail.python.org