Page MenuHomePhabricator

Unable to input unicode titles to command line
Closed, InvalidPublic

Description

Originally from: http://sourceforge.net/p/pywikipediabot/bugs/1489/
Reported by: xqt
Created on: 2012-07-09 15:21:41
Subject: Unable to input unicode titles to command line
Original description:
I didn't found it possible to input an unicode title to the command line like:

category.py move -from:"Anni de el VIII secoło a.C." -to:"Ani de el VIII secoło a.C." -lang:vec

The result is:
Getting \[\[Categoria:Anni de el VIII secolo a.C.\]\]
Getting \[\[Categoria:Anni de el VIII secolo a.C.\]\]

with simple "l" instead of "ł" \(and btw I am wondering about the two gettings while that category does not exist\)

decoding these categories works as follows:
category.py move -from:"Anni\_de\_el\_VIII\_seco%C5%82o\_a.C." -to:"Anni\_de\_el\_VIII\_seco%C5%82o\_a.C." -lang:vec

This bug is also valid for rewrite branch but there is no output.


Version: unspecified
Severity: normal
See Also:
https://sourceforge.net/p/pywikipediabot/bugs/1489

Details

Reference
bz55182

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:25 AM
bzimport set Reference to bz55182.
bzimport added a subscriber: Unknown Object (????).

generally in fa.wiki we use

http://meyerweb.com/eric/tools/dencoder/

it convert un-unicode text to percentage text and it works but for bots that they need text it doesn't work

\(for example for replace.py you can not replace percentage text\)

similar case
https://sourceforge.net/tracker/?func=detail&aid=3428321&group\_id=93107&atid=603139

I don't believe this is a valid bug for a properly configured (i.e. in windows with a unicode-capable terminal) pywikibot. Unfortunately the original submitter is unknown, and cannot be asked for clarification.