[New-bugs-announce] [issue14326] IDLE - allow shell to support different locales

Roger Serwy report at bugs.python.org
Thu Mar 15 20:15:21 CET 2012

New submission from Roger Serwy <roger.serwy at gmail.com>:

Per Martin's request, this issue has been separated from Issue14200. 

The IDLE shell presently has an effective locale of "BMP UTF8" due to a limitation in Tkinter, described in Issue12342. 

IDLE should support different output codecs, like "ascii" and "utf8". In order to work around Tkinter's limitations, unsupported characters would be replaced (this is related to #14304).

This amounts to adding some extra code to OutputWindow's write() to raise encoding errors if the string contains unsupported characters.

components: IDLE
messages: 155939
nosy: serwy
priority: normal
severity: normal
status: open
title: IDLE - allow shell to support different locales
type: enhancement
versions: Python 3.3

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list