You're right, CP is 852. Because of some window specific programs is variant a) not usable for me ;-) (and I know about linux only, that exists)
I don't know, how to run these lines in python - I created file a.py containing this, but after run there is no output. Usually I write my commands to commandline in total commander or via cmd. JAnD Dne 1. března 2012 9:03 Merlijn van Deen <[email protected]> napsal(a): > On 1 March 2012 08:27, Jan Dudík <[email protected]> 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 -- -- Ing. Jan Dudík _______________________________________________ Pywikipedia-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
