Forum:Pywikipediabots - Special characters

Hey guys.

I'm a moderator of the Assassin's Creed wiki, having some trouble getting my Pywikipediabot to recognize special characters, such as the " ï ", used in Altaïr, one of the series' protagonists.

So, this is the error I get if I try to do a straight replacement, using the normal character, input with Alt+139.

I'm basically clueless as to what's going on here – I realise it's down to the fact that the ï isn't a UTF8 character, but as to how to work around that, I don't know. :/

I'm probably sounding rather nooby here, probably because that's basically what I am. xD

I have managed to find a workaround, but not a very glamorous one, using. It works well enough, but the edit summary looks horrible.

Another way I tried was using a html character code. This would work well enough for readers, but I have a feeling it would confuse editors – The html character code is input straight into the page's code, and I doubt people will get how all that works.

So, I'd like to hear your views, and how you think I can solve all this... Cheers! —Elchzard


 * If using works and the only problem is the edit summary, then can't just just create a custom summary with the -summary:"xxx" parameter? Alternatively, you can make text replacements from a file. By default fixes.py already holds some replacements which are called with -fix:XYZ. You can modify/add any of the XYZ sections, to do any replacements you want. This method is much more versatile and surely allows special characters. — Sovq 10:09, October 6, 2011 (UTC)
 * Thanks, got it sorted – I was being stupid. xD Cheers!Elchzard 12:00, October 6, 2011 (UTC)