Unicode::Normalize 0.14 synch, from SADAHIRO Tomoyuki.
[p5sagit/p5-mst-13.2.git] / ext / Unicode / Normalize / README
CommitLineData
ab8fe378 1Unicode/Normalize version 0.14
45394607 2===================================
3
4Unicode::Normalize - normalized forms of Unicode text
5
6SYNOPSIS
7
8 use Unicode::Normalize;
9
10 $string_NFD = NFD($string); # Normalization Form D
11 $string_NFC = NFC($string); # Normalization Form C
12 $string_NFKD = NFKD($string); # Normalization Form KD
13 $string_NFKC = NFKC($string); # Normalization Form KC
14
15 or
16
17 use Unicode::Normalize 'normalize';
18
19 $string_NFD = normalize('D', $string); # Normalization Form D
20 $string_NFC = normalize('C', $string); # Normalization Form C
21 $string_NFKD = normalize('KD', $string); # Normalization Form KD
22 $string_NFKC = normalize('KC', $string); # Normalization Form KC
23
24INSTALLATION
25
ac5ea531 26Perl 5.006 or later
27
45394607 28To install this module type the following:
29
30 perl Makefile.PL
31 make
32 make test
33 make install
34
ac5ea531 35If you have a C compiler and want to use the XS version,
36type the following:
37
38 perl Makefile.PL xs
39 make
40 make test
41 make install
42
ab8fe378 43If you decide to install the NoXS version after trying to build the XS,
44type the following:
45
46 make clean
47 perl Makefile.PL noxs
48 make
49 make test
50 make install
51
45394607 52DEPENDENCIES
53
54This module requires these other modules and libraries:
55
56Carp
57Exporter
ac5ea531 58File::Copy
45394607 59File::Spec
45394607 60
ab8fe378 61unicore/CombiningClass.pl
62 (or unicode/CombiningClass.pl)
63unicore/Decomposition.pl
64 (or unicode/Decomposition.pl)
65unicore/CompositionExclusions.txt
66 (or unicode/CompExcl.txt)
67
68# CAVEAT:
69# In bleadperl, unicore/CompExcl.txt is renamed
70# unicore/CompositionExclusions.txt.
71
72And for the NoXS version, in addition to the above,
73
74 Lingua::KO::Hangul::Util 0.06
75
76is required.
2a204b45 77
45394607 78COPYRIGHT AND LICENCE
79
80SADAHIRO Tomoyuki, E<lt>SADAHIRO@cpan.orgE<gt>
81
82 http://homepage1.nifty.com/nomenclator/perl/
83
ab8fe378 84 Copyright(C) 2001-2002, SADAHIRO Tomoyuki. Japan. All rights reserved.
45394607 85
ab8fe378 86 This program is free software; you can redistribute it and/or
45394607 87 modify it under the same terms as Perl itself.
88