Closed Nitromethane closed 7 years ago
The windows-1252 encoding only handles Western European scripts. The characters 中文 can't be encoded in windows-1252, hence the error.
What behavior are you expecting?
On Aug 15, 2017, at 12:33 AM, 连_欣 notifications@github.com wrote:
this will cause a problem;
encoding.js:273 Uncaught TypeError: The code point 20013 could not be encoded. at encoderError (encoding.js:273) at SingleByteEncoder.handler (encoding.js:1438) at TextEncoder.encode (encoding.js:1122) at HTMLAnchorElement. (example.html:21)
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
@Nitromethane do you have an answer to the question?
I think there was just an understanding of how character encodings work. Closing, pending further data.
this will cause a problem;