- From: Cam Song <notifications@github.com>
- Date: Tue, 04 Aug 2015 19:51:40 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
Received on Wednesday, 5 August 2015 02:52:13 UTC
I'm using Chrome(45.0.2454.15 beta (64-bit)) and Firefox(33.1.1) on Mac OS X 10.10.4. Both is supposed `fetch`. I got messy code when the server response text has Chinese. This is steps you can reproduce: 1. open http://xueqiu.com/ 2. Open devtool console and type: ``` var url = 'http://xueqiu.com/imgroups/search.json?q=%E5%A4%A7%E5%8A%9B&count=3&sg=1'; fetch(url, { method: 'get', credentials: 'include' }).then(function (res) { return res.json(); }).then(function (json) { return console.log('receive: ' + JSON.stringify(json)); }); ``` Here is the response headers   response I got **大å** which should be **大力**。This should not be an issue of server response, since it works when using `XMLHTTPRequest`.  --- Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/issues/102
Received on Wednesday, 5 August 2015 02:52:13 UTC