[Pywikipedia-l] Encoding problem with Hungarian characters
Daniel Herding
DHerding at gmx.de
Sat Jan 19 16:57:14 UTC 2008
Am Samstag 19 Januar 2008 08:53:35 schrieb Bináris:
> solve_disambiguation.py -just -pos:"39-es főút" "39-es számú főút"
>
> the bot keeps answering:
>
> Possibility 39-es fńút does not actually exist. Use it anyway?
> Note that ő has become ń.
> What can I do? Ő is a Hungarian letter, and I really-really need it. :-)
Hi Bináris,
what operating system version are you using? Also, what happens when you open
a python interpreter and execute this:
daniel at artemis:~$ python
Python 2.5.1 (r251:54863, Oct 5 2007, 13:36:32)
[GCC 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> sys.stdout.encoding
Cheers,
Daniel
More information about the Pywikipedia-l
mailing list