Hi,

I have opened bug 36839 for this problem.

Nico

On Mon, May 14, 2012 at 5:33 PM, Nicolas Vervelle <nvervelle@gmail.com> wrote:
Hi,

Very recently (saturday ?) my application, WPCleaner, started to behave strangely (report on enwiki and frwiki), 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, 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, 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