raku icon indicating copy to clipboard operation
raku copied to clipboard

New Testcase for the  vs  unicode

Open rcmlz opened this issue 11 months ago • 2 comments

Hello, in the video they mentioned this case with  vs Â. Maybe we want to add this as a testcase? Raku normalizes them anyway, but jsut for completenes maybe? https://docs.raku.org/language/unicode

I am not familar with how this begin/end strings get generated, hence here only the testcase. Maybe you like to add it.

my @l = 
   "\c[Latin Capital Letter A, Combining Grave Accent]",
   "\c[Latin Capital Letter A with Grave]",
   "\c[Latin Capital Letter E, Combining Grave Accent]",
   "\c[Latin Capital Letter E with Grave]",
   "\c[Latin Small Letter A, Combining Grave Accent]",
   "\c[Latin Small Letter A with Grave]",
   "\c[Latin Small Letter E, Combining Grave Accent]",
   "\c[Latin Small Letter E with Grave]",
   "\c[Latin Capital Letter ae with Macron]";

cmp-ok( # begin: ???
    abbreviate(@l.join),
    "eqv",
    @l.first.uc,
    'with graves or combined À à Ê è and Ǣ - single chars.',
); # end: ???

cmp-ok( # begin: ???
    abbreviate(@l.join('xyz  ')),
    "eqv",
    @l.join.uc,
    'with graves or combined À à Ê è and Ǣ - and some attached normal chars.',
); # end: ???

rcmlz avatar Mar 03 '24 17:03 rcmlz

Hello. Thanks for opening an issue on Exercism 🙂

At Exercism we use our Community Forum, not GitHub issues, as the primary place for discussion. That allows maintainers and contributors from across Exercism's ecosystem to discuss your problems/ideas/suggestions without them having to subscribe to hundreds of repositories.

This issue will be automatically closed. Please use this link to copy your GitHub Issue into a new topic on the forum, where we look forward to chatting with you!

If you're interested in learning more about this auto-responder, please read this blog post.

github-actions[bot] avatar Mar 03 '24 17:03 github-actions[bot]

I believe the forum discussion is here.

kotp avatar Mar 04 '24 23:03 kotp

The forum discussion has been marked with "solved" and so I am closing this here.

kotp avatar Jul 21 '24 18:07 kotp