Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #112300 > unrolled thread

Re: print() function with encoding= and errors= parameters?

Started byeryk sun <eryksun@gmail.com>
First post2016-08-03 19:10 +0000
Last post2016-08-03 19:10 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: print() function with encoding= and errors= parameters? eryk sun <eryksun@gmail.com> - 2016-08-03 19:10 +0000

#112300 — Re: print() function with encoding= and errors= parameters?

Fromeryk sun <eryksun@gmail.com>
Date2016-08-03 19:10 +0000
SubjectRe: print() function with encoding= and errors= parameters?
Message-ID<mailman.152.1470251493.6033.python-list@python.org>
On Wed, Aug 3, 2016 at 3:35 PM, Malcolm Greene <python@bdurham.com> wrote:
> But under Windows, the stdout is workstation specific and *never* UTF-8. So the
> occasional non-ASCII string trips up our diagnostic output when tested under
> Windows.

You could use win_unicode_console enabled in sitecustomize or usercustomize.

https://pypi.python.org/pypi/win_unicode_console

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web