Special caracters in output formats

Hi,

For the omeka-json output format we do have special caracters (french accents).

Where can we change the coding in utf-8 to have the accent posted correctly?

Thanks,
A.

What's the problem you're seeing? Are the characters being mangled, dropped, causing an error?

Also, are you having a problem actually using the JSON, or just looking at it in a browser?

We're outputting correctly-formed JSON in UTF-8, but the browsers like to display JSON as text and apply their normal encoding-guessing schemes to it. This shouldn't be a problem in practice, as the default encoding for JSON is already UTF-8.

Hi John,

We were looking to screen the JSON correctly on the browser.

We did it by adding an encoding line to set the header on OmekaJson.php