[New-bugs-announce] [issue8779] utf8 codec fails to parse a character

Roman Gershman report at bugs.python.org
Fri May 21 00:02:01 CEST 2010


New submission from Roman Gershman <romange at gmail.com>:

The following code fails to parse the attached file:


#!/usr/bin/python3.1

if __name__ == '__main__':
 f = open("c:\\1.txt", mode ='r', encoding='utf-8')
 for line in f:
     print (line)

----------
components: Unicode
files: 1.txt
messages: 106195
nosy: Roman.Gershman
priority: normal
severity: normal
status: open
title: utf8 codec fails to parse a character
versions: Python 3.1
Added file: http://bugs.python.org/file17421/1.txt

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8779>
_______________________________________


More information about the New-bugs-announce mailing list