1 Unicode/Normalize version 0.28
2 ===================================
4 Unicode::Normalize - Unicode Normalization Forms
8 use Unicode::Normalize;
10 $NFD_string = NFD($string); # Normalization Form D
11 $NFC_string = NFC($string); # Normalization Form C
12 $NFKD_string = NFKD($string); # Normalization Form KD
13 $NFKC_string = NFKC($string); # Normalization Form KC
17 use Unicode::Normalize 'normalize';
19 $NFD_string = normalize('D', $string); # Normalization Form D
20 $NFC_string = normalize('C', $string); # Normalization Form C
21 $NFKD_string = normalize('KD', $string); # Normalization Form KD
22 $NFKC_string = normalize('KC', $string); # Normalization Form KC
28 (Perl 5.8.0 or later is recommended.)
30 To install this module (XSUB: needs a C compiler), type the following:
37 If you want to install pure Perl (i.e. no-XSUB),
38 type the following (!! "disableXS" must run before "Makefile.PL" !!):
46 After building no-XSUB, if you decide to install XSUB,
47 type the following (!! "enableXS" must run before "Makefile.PL" !!):
58 This module requires other modules and libraries following:
65 unicore/CombiningClass.pl (or unicode/CombiningClass.pl)
66 unicore/Decomposition.pl (or unicode/Decomposition.pl)
67 unicore/CompositionExclusions.txt (or unicode/CompExcl.txt)
71 (1) In the perl-current, unicore/CompExcl.txt
72 is renamed unicore/CompositionExclusions.txt.
74 (2) After these unicore/*.* files are updated.
76 In the case of an XS edition:
77 You must rebuild the module,
78 as the data will be compiled on building.
80 In the case of a pure Perl edition:
81 Rebuilding is not necessary,
82 as the data will be read on requirement.
84 (3) Pure Perl edition, Normalize.pmN, may work without any other file
85 in this distribution (it must be renamed Normalize.pm, though)
89 SADAHIRO Tomoyuki <SADAHIRO@cpan.org>
91 http://homepage1.nifty.com/nomenclator/perl/
93 Copyright(C) 2001-2003, SADAHIRO Tomoyuki. Japan. All rights reserved.
95 This module is free software; you can redistribute it
96 and/or modify it under the same terms as Perl itself.