I have two computers, one with python 2.5 and one with python 2.6. On 2.5 I have no problem with encoding, on 2.6 encoding works OK only from commandline, not from terminal window. Maybe is problem here?
JAnD
2009/10/20 Dies Irae umbraeinsilva@gmail.com:
I use WinXP usual English version on both. Now I fixed the problem inserting console_encoding = 'cp1257' so everything works properly. Only its interesting that before everything worked well without any encodings but when I have updated my python and pywikipedia software that problem began.
2009/10/19 Nicolas Dumazet nicdumz@gmail.com
2009/10/19 Dies Irae umbraeinsilva@gmail.com:
Hello, maybe somebody could help to solve a strange interwiki bot bug.
Now I often get it when bot is checking articles with some letters with diacritics, as in example bellow it stops when it founds Spanish letter í. It also hapens with some Hungarian, Finnish letters. The most strange thing is that on another computer with the same OS, the same Python version and the same pywikipedia version everything works perfectly.
Out of curiosity, what windows version is this? I'm pretty sure that the terminal encoding is different between them. Do you use the same language on both OS for example? I know for a fact that Japanese Windows XP ship with a different default encoding than Western European XPs. What value do you use as encoding in user-config.py? Have you tried tweaking it?
-- Nicolas Dumazet — NicDumZ
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l