hyperobject/crossorigin.me

Add charset option

mmethot opened this issue ยท 1 comments

When I fetch some data that contains accents of all sorts (hey, don't judge me, I speak french), the returned result messes up all the accents.

I have this piece of code client-side that fixes some problems, but it can't fix data coming back from the server:

$.ajaxSetup({ scriptCharset: "utf-8", contentType: "application/json; charset=utf-8" });

That would be a very nice addon to your awesome proxy.

  • Max

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/38117789-add-charset-option?utm_campaign=plugin&utm_content=tracker%2F12536595&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F12536595&utm_medium=issues&utm_source=github).

Thanks for the suggestion! I've put it on the planning board for v2 of the service. :)