Hello,
according to dicuss aboutl farewell of Python 2.4 I tried to update
my 2.5 to 2.7.2. And I have good reason for me to stay on old version
I am using Windows XP cz (windows-1250)
When I have in my user-config no console_encoding:
Py 2.5 :
-I have good czech characters in terminal window
- I can write e.q. Interwiki.py Dobříš
- I can write e.g. interwiki.py and after ask I write Dobříš
= everything works well for me
Py 2.6+
-I have bad czech characters in terminal window (ˇ instead of í, " "
instead of á, nothing instead of ů, ý instead of ř....)
- I can write e.q. Interwiki.py Dobříš
- I can write e.g. interwiki.py and after ask I write Dobříš
= I am not able to read in terminal window
With console_encoding='windows-1250'
Py 2.6+
-I have good czech characters in terminal window
- I can write e.q. Interwiki.py Dobříš
- I can't write e.g. interwiki.py and after ask I write Dobříš
= I am not able to write to terminal window
With console_encoding='utf-8'
Py 2.6+
-I have bad non-base-ASCII characters in terminal window (two or
three instead of one, translitertation for cyrilic or asian languages
doesn't work
- I can't write e.q. Interwiki.py Dobříš - bot crashes
- I can't write e.g. interwiki.py and after ask I write Dobříš - bot crashes
= I am not able to read or write to terminal window
With console_encoding='ISO 8859-2'
-I have good czech characters in terminal window
- I can't write e.q. Interwiki.py Dobříš - page does not exist
- I can't write e.g. interwiki.py and after ask I write Dobříš - page
does not exist, bad chars in terminal window
= I am not able to write to terminal window
So, how to use py 2.6+ and with correct and usable encoding?
Or, should I write this to survey page?
JAnD