Commit | Line | Data |
ab8fe378 |
1 | Unicode/Normalize version 0.14 |
45394607 |
2 | =================================== |
3 | |
4 | Unicode::Normalize - normalized forms of Unicode text |
5 | |
6 | SYNOPSIS |
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 | |
24 | INSTALLATION |
25 | |
ac5ea531 |
26 | Perl 5.006 or later |
27 | |
45394607 |
28 | To install this module type the following: |
29 | |
30 | perl Makefile.PL |
31 | make |
32 | make test |
33 | make install |
34 | |
ac5ea531 |
35 | If you have a C compiler and want to use the XS version, |
36 | type the following: |
37 | |
38 | perl Makefile.PL xs |
39 | make |
40 | make test |
41 | make install |
42 | |
ab8fe378 |
43 | If you decide to install the NoXS version after trying to build the XS, |
44 | type the following: |
45 | |
46 | make clean |
47 | perl Makefile.PL noxs |
48 | make |
49 | make test |
50 | make install |
51 | |
45394607 |
52 | DEPENDENCIES |
53 | |
54 | This module requires these other modules and libraries: |
55 | |
56 | Carp |
57 | Exporter |
ac5ea531 |
58 | File::Copy |
45394607 |
59 | File::Spec |
45394607 |
60 | |
ab8fe378 |
61 | unicore/CombiningClass.pl |
62 | (or unicode/CombiningClass.pl) |
63 | unicore/Decomposition.pl |
64 | (or unicode/Decomposition.pl) |
65 | unicore/CompositionExclusions.txt |
66 | (or unicode/CompExcl.txt) |
67 | |
68 | # CAVEAT: |
69 | # In bleadperl, unicore/CompExcl.txt is renamed |
70 | # unicore/CompositionExclusions.txt. |
71 | |
72 | And for the NoXS version, in addition to the above, |
73 | |
74 | Lingua::KO::Hangul::Util 0.06 |
75 | |
76 | is required. |
2a204b45 |
77 | |
45394607 |
78 | COPYRIGHT AND LICENCE |
79 | |
80 | SADAHIRO 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 | |