This is not a bug in Python, but in the individual scripts. Scripts
should not rely on being able to write Unicode strings to stdout.
Instead, they need to encode strings explicitly, according to whatever
protocol is defined for whatever file they send the data to. In absence
of a more specific guidance from the user (or the protocol that they
follow), they should use locale.getpreferredencoding().

I propose to close this as "won't fix". Python 3 has resolved this issue
in a different way, explicitly distinguishing between text files (which
get encoded in the locale's encoding unless specified differently), and
binary files (which don't support writing Unicode to them).



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to