From Code to Community: Sponsoring The Perl and Raku Conference 2025 Learn more

Unicode/Normalize version 1.21
===================================
Unicode::Normalize - Unicode Normalization Forms
SYNOPSIS
(1) using function names exported by default:
use Unicode::Normalize;
$NFD_string = NFD($string); # Normalization Form D
$NFC_string = NFC($string); # Normalization Form C
$NFKD_string = NFKD($string); # Normalization Form KD
$NFKC_string = NFKC($string); # Normalization Form KC
(2) using function names exported on request:
use Unicode::Normalize 'normalize';
$NFD_string = normalize('D', $string); # Normalization Form D
$NFC_string = normalize('C', $string); # Normalization Form C
$NFKD_string = normalize('KD', $string); # Normalization Form KD
$NFKC_string = normalize('KC', $string); # Normalization Form KC
INSTALLATION
Perl 5.6.1 or later is required.
Perl 5.8.1 or later is recommended.
To install this module, type the following:
perl Makefile.PL
make
make test
make install
DEPENDENCIES
This module requires some core modules and pragmas,
and the following files from Unicode Character Database,
which are included in recent perl core distributions.
- unicore/CombiningClass.pl (or unicode/CombiningClass.pl)
- unicore/Decomposition.pl (or unicode/Decomposition.pl)
COPYRIGHT AND LICENSE
SADAHIRO Tomoyuki <SADAHIRO@cpan.org>
Copyright(C) 2001-2012, SADAHIRO Tomoyuki. Japan. All rights reserved.
This module is free software; you can redistribute it and/or
modify it under the same terms as Perl itself.