Re: [whatwg/encoding] Big5 encoding mishandles some trailing bytes, with possible XSS (#171)

The `WindowsBestFit` table is not relevant here.

It is only used to convert from Unicode to a charset.
It is used by default by `WideCharToMultiByte` (when the `WC_NO_BEST_FIT_CHARS` is not set)
(https://docs.microsoft.com/en-us/windows/desktop/api/stringapiset/nf-stringapiset-widechartomultibyte)

There is no such flag in `MultiByteToWideChar`


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/encoding/issues/171#issuecomment-459130039

Received on Wednesday, 30 January 2019 22:10:47 UTC