You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(/me trying to remember how those tests worked...) I think the 'error cases' tested for handling of characters that were not included in the legacy encoding, eg. a hangul character in sjis, but euc-kr covers all the hangul characters in Unicode, so there is no need for a hangul-errors test.
Activity
r12a commentedon May 25, 2018
@zcorpan i think https://github.com/w3c/web-platform-tests/blob/master/encoding/legacy-mb-korean/euc-kr/euckr-encode-form.html should contain the hangul character tests(?)
zcorpan commentedon May 25, 2018
But that doesn't test error cases if I understand these tests correctly.
r12a commentedon May 25, 2018
(/me trying to remember how those tests worked...) I think the 'error cases' tested for handling of characters that were not included in the legacy encoding, eg. a hangul character in sjis, but euc-kr covers all the hangul characters in Unicode, so there is no need for a hangul-errors test.
r12a commentedon May 25, 2018
fwiw, you may be able to see the pattern more easily by looking a the assertions at https://www.w3.org/International/tests/repo/results/encoding-dbl-byte.en#ko
zcorpan commentedon May 25, 2018
If it handles all of hangul, why does adding such a test give 11 code points to be tested?
r12a commentedon May 25, 2018
Not sure. Can you point me to that test file? How did you come up with the characters to check?
zcorpan commentedon May 25, 2018
I haven't committed it, but it's the same as https://github.com/w3c/web-platform-tests/pull/11016/files#diff-e6b0b9deee3ae0d27d7b705f1be4ec0a but for euc-kr.