String comparison: Difference between revisions

→‎{{header|Raku}}: add title for Unicode NFC
(→‎{{header|Raku}}: add a String comparison example for the normalization trap)
(→‎{{header|Raku}}: add title for Unicode NFC)
Line 3,603:
The generic relationship of Num '5.1' and Rat '5.1' is Same
The numeric relationship of Num '5.1' and Rat '5.1' is Same</pre>
 
=== Unicode normalization by default ===
 
Beware that Raku applies normalization (Unicode NFC form (Normalization Form Canonical)) by default to all input and output except for file names<ref>https://docs.raku.org/language/unicode</ref>. Shortly put your Unicode string will rarely be what you expect when you include characters outside the ASCII range.