callumlocke / json-formatter

Makes JSON easy to read.
https://chrome.google.com/webstore/detail/json-formatter/bcjindcccaagfpapjjmafapmmgkkhgoa?hl=en
BSD 3-Clause "New" or "Revised" License
3.79k stars 873 forks source link

é character turns into é #112

Open bradwbradw opened 7 years ago

bradwbradw commented 7 years ago

using Postman to fetch JSON, i can see international characters such as é in JSON body

However, when viewing in Chrome using this extension, é turns into é.

here are the response headers

allow →HEAD,GET,POST,PUT,DELETE
api-version →0.0.1
cf-ray →2342345345-SEA
connection →keep-alive
content-encoding →gzip
content-type →application/json
date →Thu, 17 Aug 2017 16:32:24 GMT
link →</api/2/facetedcontentblocks>; rel="search", </api/2/facetedcontentblocks?api-token=12341235234632456&populate=facets.category>; rel="self"
server →cloudflare-nginx
trailer →Etag
transfer-encoding →chunked
vary →API-Version, Accept, Accept-Encoding
via →1.1 vegur
x-frame-options →sameorigin

Postman screenshot:

screen shot 2017-08-17 at 9 40 32 am

Chrome screenshot:

screen shot 2017-08-17 at 9 40 32 am
SVPA-TrinityFox commented 7 years ago

I'm seeing the same issue- it's not handling UTF8 correctly.