https://bugzilla.wikimedia.org/show_bug.cgi?id=72734

            Bug ID: 72734
           Summary: Unicode characters in API output
           Product: MediaWiki
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Unprioritized
         Component: API
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected]
       Web browser: ---
   Mobile Platform: ---

Not sure if this is a bug but for example:

wget -q -O-
"http://en.wikipedia.org/w/api.php?action=parse&page=abbé_Prévost&prop=links&format=json";

produces:

{"parse":{"title":"Abb\u00e9 Pr\u00e9vost","links":[{"ns":0,"*":"Antoine
Fran\u00e7ois Pr\u00e9vost","exists":""}]}}

According to 
http://www.fileformat.info/info/unicode/char/e9/index.htm

..the "\u00e9" is Unicode é produced by C/C++/Java. For an API this means I
need to translate and I don't have an easy way. Should the API produce the
character é not Java/C++/Python encoded? 

Regards,
GreenC

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to