unicode-programming/normalization/perl6.md at master · patch/unicode-programming

Skip to content

Navigation Menu

Sign in

Appearance settings

Latest commit

File metadata and controls

11 lines (9 loc) · 218 Bytes

Unicode normalization in Perl 6

Unicode normalization is available in the core language as methods on strings (Str onbjects).

$nfd  = $str.NFD;
$nfc  = $str.NFC;
$nfkd = $str.NFKD;
$nfkc = $str.NFKC;