1 Unicode/Normalize version 1.03
2 ===================================
4 Unicode::Normalize - Unicode Normalization Forms
8 (1) using function names exported by default:
10 use Unicode::Normalize;
12 $NFD_string = NFD($string); # Normalization Form D
13 $NFC_string = NFC($string); # Normalization Form C
14 $NFKD_string = NFKD($string); # Normalization Form KD
15 $NFKC_string = NFKC($string); # Normalization Form KC
17 (2) using function names exported on request:
19 use Unicode::Normalize 'normalize';
21 $NFD_string = normalize('D', $string); # Normalization Form D
22 $NFC_string = normalize('C', $string); # Normalization Form C
23 $NFKD_string = normalize('KD', $string); # Normalization Form KD
24 $NFKC_string = normalize('KC', $string); # Normalization Form KC
28 Perl 5.6.1 or later is required.
29 Perl 5.8.1 or later is recommended.
31 To install this module (XSUB: needs a C compiler), type the following:
38 If you want to install pure Perl (i.e. no-XSUB),
39 type the following (!! "disableXS" must run before "Makefile.PL" !!):
47 After building no-XSUB, if you decide to install XSUB,
48 type the following (!! "enableXS" must run before "Makefile.PL" !!):
59 This module requires some core modules and pragmas,
60 and the following files from Unicode Character Database,
61 which are included in recent perl core distributions.
63 - unicore/CombiningClass.pl (or unicode/CombiningClass.pl)
64 - unicore/Decomposition.pl (or unicode/Decomposition.pl)
65 - unicore/CompositionExclusions.txt (or unicode/CompExcl.txt)
69 (1) After these unicore/*.* files are updated:
72 You must rebuild the module,
73 as the data will be compiled on building.
75 In the case of pure perl:
76 Rebuilding is not necessary,
77 as the data will be read on requirement.
79 (2) Normalize.pmN (a pure perl module) may work without any other file
80 in this distribution. It must be renamed Normalize.pm, though.
84 SADAHIRO Tomoyuki <SADAHIRO@cpan.org>
86 Copyright(C) 2001-2007, SADAHIRO Tomoyuki. Japan. All rights reserved.
88 This module is free software; you can redistribute it and/or
89 modify it under the same terms as Perl itself.