Unicode conversion in 'print'
ricardo.b at zmail.pt
Fri Jan 14 03:41:38 CET 2005
thanks for the information. But what I was really looking for was
informaion on when and why Python started doing it (previously, it always
used sys.getdefaultencoding())) and why it was done only for 'print' when
stdout is a terminal instead of always.
On Thu, 13 Jan 2005 14:33:20 -0800, Serge Orlov wrote:
> Sure. It uses the encoding of you console. Here is explanation why it uses
> locale to get the encoding of console:
More information about the Python-list