python3 - the hardest hello world ever ?

Helmut Jarausch jarausch at skynet.be
Wed Oct 15 11:59:06 EDT 2008


Paul Boddie wrote:
> On 15 Okt, 12:08, Helmut Jarausch <jarau... at igpm.rwth-aachen.de>
> wrote:
>> What defines me as latin1-user?
> 
> What does sys.stdout.encoding say? In Python 2.x, at least, that

It says  ansi_x3.4-1968

Where can I change this?
> attribute should reflect the capabilities of your environment
> (specifically, the character encoding) and help determine whether it
> makes sense for Python to try and encode Unicode objects (plain
> strings in Python 3.x) using a particular output encoding when
> printing those objects to the display.
> 

Thanks,
Helmut.


-- 
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany



More information about the Python-list mailing list