Pewarta Proxy

📋 Server Request & Proxy Logs

Loading active proxy settings...
Developed by Khairul Adha (adhexa.id)
Mengambil log server...

⚙️ Pengaturan Proxy Target

Skip to content

Possibly missing Hangul tests for euc-kr #11145

Open

Description

@zcorpan

While working on #11016 I found that euc-kr doesn't have tests for Hangul. Adding Hangul yielded 11 subtests for euckr-encode-form-errors-hangul.html

@r12a is it intentional?

Activity

  1. r12a commented on May 25, 2018

    @r12a
    Contributor
  2. zcorpan commented on May 25, 2018

    @zcorpan
    MemberAuthor

    But that doesn't test error cases if I understand these tests correctly.

  3. r12a commented on May 25, 2018

    @r12a
    Contributor

    (/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.

  4. r12a commented on May 25, 2018

    @r12a
    Contributor

    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

  5. zcorpan commented on May 25, 2018

    @zcorpan
    MemberAuthor

    If it handles all of hangul, why does adding such a test give 11 code points to be tested?

  6. r12a commented on May 25, 2018

    @r12a
    Contributor

    Not sure. Can you point me to that test file? How did you come up with the characters to check?

  7. zcorpan commented on May 25, 2018

    @zcorpan
    MemberAuthor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions