3 karma · joined Apr 12, 2018 (8y ago) · 1 submissions
comment 8y ago · link · parent
To the OP: you should use theses tests to validate your implementation https://www.cl.cam.ac.uk/~mgk25/ucs/examples/UTF-8-test.txt (caveat: 5- and 6-byte sequences are no longer valid UTF-8 and should be rejected).