summaryrefslogtreecommitdiff
path: root/ext/Unicode/Normalize/README
blob: 96c456a592a121cff1d2ece34b17d338bfb4ad1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
Unicode/Normalize version 0.12
===================================

Unicode::Normalize - normalized forms of Unicode text

SYNOPSIS

  use Unicode::Normalize;

  $string_NFD  = NFD($string);  # Normalization Form D
  $string_NFC  = NFC($string);  # Normalization Form C
  $string_NFKD = NFKD($string); # Normalization Form KD
  $string_NFKC = NFKC($string); # Normalization Form KC

   or

  use Unicode::Normalize 'normalize';

  $string_NFD  = normalize('D',  $string);  # Normalization Form D
  $string_NFC  = normalize('C',  $string);  # Normalization Form C
  $string_NFKD = normalize('KD', $string);  # Normalization Form KD
  $string_NFKC = normalize('KC', $string);  # Normalization Form KC

INSTALLATION

Perl 5.006 or later

To install this module type the following:

   perl Makefile.PL
   make
   make test
   make install

If you have a C compiler and want to use the XS version,
type the following:

   perl Makefile.PL xs
   make
   make test
   make install

DEPENDENCIES

This module requires these other modules and libraries:

Carp
Exporter
File::Copy
File::Spec
unicore/CombiningClass.pl         or unicode/CombiningClass.pl
unicore/Decomposition.pl          or unicode/Decomposition.pl
unicore/CompositionExclusions.txt or unicode/CompExcl.txt

and for the Non-XS version, in addition to the above,
Lingua::KO::Hangul::Util 0.06

COPYRIGHT AND LICENCE

SADAHIRO Tomoyuki, E<lt>SADAHIRO@cpan.orgE<gt>

  http://homepage1.nifty.com/nomenclator/perl/

  Copyright(C) 2001, SADAHIRO Tomoyuki. Japan. All rights reserved.

  This program is free software; you can redistribute it and/or 
  modify it under the same terms as Perl itself.