1Collate::CJK::GB2312(3)User Contributed Perl DocumentatioCnollate::CJK::GB2312(3)
2
3
4
6 Unicode::Collate::CJK::GB2312 - weighting CJK Unified Ideographs for
7 Unicode::Collate
8
10 use Unicode::Collate;
11 use Unicode::Collate::CJK::GB2312;
12
13 my $collator = Unicode::Collate->new(
14 overrideCJK => \&Unicode::Collate::CJK::GB2312::weightGB2312
15 );
16
18 "Unicode::Collate::CJK::GB2312" provides weightGB2312(), that is
19 adequate for "overrideCJK" of "Unicode::Collate" and makes tailoring of
20 CJK Unified Ideographs in the order of CLDR's gb2312han ordering.
21
23 The gb2312han ordering includes 5 code points in private use area
24 (E2D8..E2DC), that can't utilize weightGB2312() for collation. For
25 them, use "entry" instead.
26
28 CLDR - Unicode Common Locale Data Repository
29 <http://cldr.unicode.org/>
30
31 Unicode Locale Data Markup Language (LDML) - UTS #35
32 <http://www.unicode.org/reports/tr35/>
33
34 Unicode::Collate
35 Unicode::Collate::Locale
36
37
38
39perl v5.36.0 2023-01-20 Collate::CJK::GB2312(3)