matthew-andrews / isomorphic-fetch

Isomorphic WHATWG Fetch API, for Node & Browserify
MIT License
6.95k stars 289 forks source link

UTF8 in get request #146

Closed mulikaminker closed 4 years ago

mulikaminker commented 7 years ago

For some reason, When I transfer Hebrew characters in get request it came as non-utf8. For example: áÜçÝ.

I add to the header request the line 'content-type': 'application/json; charset=utf-8', 'Accept': 'application/json; charset=utf-8', but it's do nothing.

In a direct get call (from the browser or from postman it's work normal.

webdeb commented 4 years ago

Also an issue for äöüß

matthew-andrews commented 4 years ago

I'm sorry I didn't reply to this … I really doubt this is a problem caused by this library … if someone can make a reduced test case showing otherwise I'll be happy to consider a fix, however.