summaryrefslogtreecommitdiff
path: root/lib/Unicode/Normalize/README
blob: e1f9e962eb6cfd561f4dc26292b5e23fc7d91d32 (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
Unicode/Normalize version 0.04
===================================

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

To install this module type the following:

   perl Makefile.PL
   make
   make test
   make install

DEPENDENCIES

This module requires these other modules and libraries:

Carp
Exporter
File::Spec
Lingua::KO::Hangul::Util
$unidir/CombiningClass.pl
$unidir/Decomposition.pl
$unidir/CompExcl.txt

# $unidir is $LIB/unicore or $LIB/unicode

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.