Re: Clock skew failures in Memoize test suite
[p5sagit/p5-mst-13.2.git] / ext / Unicode / Normalize / README
CommitLineData
f027f502 1Unicode/Normalize version 0.17
45394607 2===================================
3
f027f502 4Unicode::Normalize - Unicode Normalization Forms
45394607 5
6SYNOPSIS
7
8 use Unicode::Normalize;
9
8f118dcd 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
14
15
16 or
45394607 17
45394607 18
19 use Unicode::Normalize 'normalize';
20
8f118dcd 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
25
45394607 26
27INSTALLATION
28
8f118dcd 29Perl 5.6 or later
ac5ea531 30
45394607 31To install this module type the following:
32
33 perl Makefile.PL
34 make
35 make test
36 make install
37
ac5ea531 38If you have a C compiler and want to use the XS version,
39type the following:
40
41 perl Makefile.PL xs
42 make
43 make test
44 make install
45
ab8fe378 46If you decide to install the NoXS version after trying to build the XS,
47type the following:
48
49 make clean
50 perl Makefile.PL noxs
51 make
52 make test
53 make install
54
45394607 55DEPENDENCIES
56
57This module requires these other modules and libraries:
58
59Carp
60Exporter
ac5ea531 61File::Copy
45394607 62File::Spec
45394607 63
8f118dcd 64unicore/CombiningClass.pl (or unicode/CombiningClass.pl)
65unicore/Decomposition.pl (or unicode/Decomposition.pl)
66unicore/CompositionExclusions.txt (or unicode/CompExcl.txt)
ab8fe378 67
8f118dcd 68CAVEAT
ab8fe378 69
f027f502 70(1) In the perl-current, unicore/CompExcl.txt
71 is renamed unicore/CompositionExclusions.txt.
ab8fe378 72
8f118dcd 73(2) When these unicore/*.* files are updated;
ab8fe378 74
8f118dcd 75 in the case of an XS version:
76 You must rebuild the module,
77 as the data will be compiled on building.
78
79 in the case of a NoXS version:
80 Rebuilding is not necessary,
81 as the data will be read on requirement.
2a204b45 82
45394607 83COPYRIGHT AND LICENCE
84
8f118dcd 85 SADAHIRO Tomoyuki
86
87 SADAHIRO@cpan.org
45394607 88
89 http://homepage1.nifty.com/nomenclator/perl/
90
ab8fe378 91 Copyright(C) 2001-2002, SADAHIRO Tomoyuki. Japan. All rights reserved.
45394607 92
ab8fe378 93 This program is free software; you can redistribute it and/or
45394607 94 modify it under the same terms as Perl itself.