- From: Anne van Kesteren <notifications@github.com>
- Date: Wed, 06 Jan 2016 04:57:46 -0800
- To: whatwg/encoding <encoding@noreply.github.com>
Received on Wednesday, 6 January 2016 12:58:15 UTC
You're right. And we cannot simply adjust gb18030 ranges I think so we would have to hard code it. 0x8135F437 becomes pointer 7457 so we could special case that in https://encoding.spec.whatwg.org/#index-gb18030-ranges-code-point (simply return U+E7C7 for that pointer). And then we would have to do the same in https://encoding.spec.whatwg.org/#index-gb18030-ranges-pointer if we wanted to keep round tripping this code point (if code point is U+E7C7, return 7457). So this would result in an uglier algorithm, but if you all think it's worth it that's fine with me. --- Reply to this email directly or view it on GitHub: https://github.com/whatwg/encoding/issues/22#issuecomment-169317915
Received on Wednesday, 6 January 2016 12:58:15 UTC