Test case with more than 4-bytes

  • 1

    There is a test case with:

    # ^ true

    However since there are more than 4-bytes isn't this automatically an invalid utf-8 encoding?

    A character in UTF8 can be from 1 to 4 bytes long

Log in to reply

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.