[whatwg/xhr] xmlhttprequest.responseText occasionally appears Chinese garbled characters (Issue #368)

![image](https://user-images.githubusercontent.com/52462887/217204784-0bb752b3-12f6-4709-a039-c14238c8773c.png)

1. We use XMLHttpRequest to initiate a request and get the response packet from the server, which is normal encoding;

2. We use the following code to get the data packet (occasionally appear) Chinese garbled characters, not necessarily.

var text = this._xmlHttpRequest.responseText;
console. log(text);
return text;

3. Please refer to the attached screenshot for details of garbled characters;

Additional information:
This problem did not exist years ago, but it only appeared after the upgrade of the Google kernel. The same product has no problem without the upgrade of the Google kernel; after the year, there are customers and tests that have this problem (some Chinese characters are occasionally garbled)

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/xhr/issues/368
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/xhr/issues/368@github.com>

Received on Tuesday, 7 February 2023 09:27:11 UTC