So my first thought is to write a test to verify how Raku handles each of
these cases, but the file itself says this isn't a conformance test.

You can see raku's specification suite (including unicode) here:
https://github.com/raku/roast - but that's everything, and doesn't have a
section specifically about, e.g. malformed UTF8.

It should be very straightforward to write a test in raku for these various
items and see what the result is. Might be a good idea for a blog post!

On Wed, Jun 10, 2026 at 1:50 AM William Michels via perl6-users <
[email protected]> wrote:

> https://www.cl.cam.ac.uk/~mgk25/ucs/examples/UTF-8-test.txt
>
> Unicode/UTF-8 Question:
>
> Does anyone know if Rakudo has ever been tested against Markus
> King's "UTF-8 decoder capability and stress test"?
>
> From the intro:
>
> "This test file can help you examine, how your UTF-8 decoder handles
> various types of correct, malformed, or otherwise interesting UTF-8
> sequences."
>
>
> Any info appreciated,
>
> Thx, Bill.
>

Reply via email to