[New-bugs-announce] [issue14986] print() fails on latin1 characters on OSX

Adrian Bastholm report at bugs.python.org
Sat Jun 2 15:18:24 CEST 2012

New submission from Adrian Bastholm <javahaxxor at gmail.com>:

print(listentry) fails on folder name with swedish (latin1) characters

 File "/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/encodings/mac_roman.py", line 19, in encode
    return codecs.charmap_encode(input,self.errors,encoding_table)[0]
UnicodeEncodeError: 'charmap' codec can't encode character '\u030a' in position 33: character maps to <undefined>

assignee: ronaldoussoren
components: Macintosh
messages: 162134
nosy: javahaxxor, ronaldoussoren
priority: normal
severity: normal
status: open
title: print() fails on latin1 characters on OSX
versions: Python 3.2

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list