Hi,
Very recently (saturday ?) my application,
WPCleaner<http://en.wikipedia.org/wiki/User:NicoV/Wikipedia_Cleaner/Docu…on>,
started to behave strangely (report on
enwiki<http://en.wikipedia.org/w/index.php?title=User_talk%3ANicoV%2FWik…
and
frwiki<http://fr.wikipedia.org/w/index.php?title=Discussion_utilisateur%…)=78639841>),
without any modfications on my side.
I checked what was going on, and it seems that answers from the API have
problems with accented characters, like "é".
For example, this very long
request<http://fr.wikipedia.org/w/api.php?prop=templates&action=quer…9tats-Unis>,
gives the following result (see the strange characters instead of the é, è,
...) :
<?xml version="1.0"?><api>
<query>
<pages>
<page ns="0" title="Les Experts (série télévisée)"
missing="" />
<page ns="0" title="Liste des épisodes des Experts"
missing="" />
<page ns="0" title="Modèle discussion:Palette Les Experts"
missing="" />
<page ns="0" title="Personnages récurrents dans Les
Experts"
missing="" />
<page ns="0" title="Série télévisée" missing=""
/>
<page ns="0" title="Wallace Langham" missing=""
/>
<page ns="0" title="États-Unis" missing="" />
<page pageid="43579" ns="0" title="Acteur" />
But if I reduce the number of pages in the titles=
argument<http://fr.wikipedia.org/w/api.php?prop=templates&action=que…9tats-Unis>,
it works again correctly (the "Modèle discussion:Palette Les Experts" is
correct, other pages also but below in the answer) :
<api>
<query>
<pages>
<page ns="0" title="Modèle discussion:Palette Les Experts"
missing="" />
<page pageid="43579" ns="0" title="Acteur" />
<page pageid="4307505" ns="0" title="Albert
Robbins" />
<page pageid="5539" ns="0" title="Anglais">
Any idea ?
Nico