LionHeart123 / pyscripter

Automatically exported from code.google.com/p/pyscripter
0 stars 0 forks source link

Shell output is not unicode? #596

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
* What steps will reproduce the problem?
Start pyscripter, in Python Interpreter type:
>>> print "äöü"
öäü

* What is the expected output? What do you see instead?
I would expect it to print the special characters äöü that I told it to 
print.

* What version of the product are you using? On what operating system?
PyScriüter 2.4.1.0
Python 2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit (Intel)] on 
win32.

* Please provide any additional information below.
This is tested on a German system

Original issue reported on code.google.com by leckerke...@gmx.li on 30 Dec 2011 at 10:16

GoogleCodeExporter commented 9 years ago
Please read the help file topic "Encoded Python Source Files"

To make you example work use the following in Python 2.7.

# -*- coding: utf-8 -*-
print u"äöü"

Original comment by pyscripter on 31 Dec 2011 at 3:21