On 1 March 2012 08:27, Jan Dudík <jan.dudik@gmail.com> wrote:
I am using Windows XP cz (windows-1250)

We should just stop supporting windows ;-) 

So, how to use py 2.6+ and with correct and usable encoding?
This is a bug, and it should most certainly be fixed. However, I'm somewhat confused on how this changes between python versions - this is for the same computer?

However, I'm not sure about the 'windows-1250' you mention - are you sure it's not code page 852? You can check this by running 'chcp' in a cmd window. In addition, please run the following lines in python (preferrably in all three versions):


import sys
sys
.getdefaultencoding()

The output will probably depend on how you run the bot - via cmd, via IDLE or maybe even whether you run a script directly or not...

Best,
Merlijn