I finished loading UTF-8-test.txt by one, comparing the result with the expected one (which I hard-coded on the card line number->ok/fail ).
This works, but I would also like to get some cases for incomplete UTF-8 characters, buffer overflows, etc. So, if you know the existing test suite (not even reusable, but which can serve as a source of inspiration), please send the link here.
source share