-
Notifications
You must be signed in to change notification settings - Fork 290
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No mention of NFG in the docs? #3258
Comments
Not that I remember. We'll have to do something about it. Thanks for the report. |
We should still have our own writeup, but: https://docs.raku.org/language/glossary#index-entry-NFG points to articles and there are multiple pointers to that in Lang/regex, Lang/unicode, and Type/Cool |
I was writing new issue request (but eventually got here): Raku docs don't seem to sufficiently reflect potentially unexpected Unicode normalization during Str construction. (I don't see it mentioned in docs at raku.org). See e.g. following cases: "\x340" eq "\x300" ; # True # False might have been expected
"\x340".ords.map(*.base(16)) ; # (300) # (340) might have been expected Find some more interesting character on which it happens, put it in nicer code example, and mention it at least in maybe also in Also mention how to make/handle intentionally non-normalized Unicode strings, if applicable. |
Any idea why it happens in that specific case? Is that legit or is it a bug? |
So it's totally legit, but it might still need some explanation as required by the OP. |
Right. Here it's kind of mentioned: language/traps, section All text is normalized by default. Similar example might fit there. |
Looks like NFG is not explained anywhere? While it is one of the Unique Selling Points of Raku.
https://6guts.wordpress.com/2015/04/30/this-week-the-big-nfg-switch-on-and-many-fixes/ perhaps as a source of information?
The text was updated successfully, but these errors were encountered: