UNICODE::COLLATE::CJK::STROKE(3pm)
π Unicode::Collate::CJK::Stroke(3pm) π
okay bestie, welcome to Unicode::Collate::CJK::Stroke(3pm) β header shorthand: Unicode...::Stroke(3pm) β from the Perl Programmers Reference Guide. This is your guide to CJK stroke weighting, and yes, itβs giving niche-but-iconic. π
π NAME π
Unicode::Collate::CJK::Stroke β weighting CJK Unified Ideographs for Unicode::Collate π¦
β¨ SYNOPSIS β¨
Bestie, the setup is literally this:
use Unicode::Collate;
use Unicode::Collate::CJK::Stroke;
my $collator = Unicode::Collate->new(
overrideCJK => \&Unicode::Collate::CJK::Stroke::weightStroke
);
πΈ DESCRIPTION πΈ
okay so Unicode::Collate::CJK::Stroke provides weightStroke(), and that function is adequate for overrideCJK of Unicode::Collate. It makes tailoring of CJK Unified Ideographs happen in the order of CLDRβs stroke ordering. Slay. π
π CAVEAT π
β οΈ real talk, this is a caveat, not a drill:
The stroke ordering includes some characters that are not CJK Unified Ideographs, and for those characters, weightStroke() canβt be utilized for collation. For them, use entry instead. π«Ά
π₯ SEE ALSO π₯
- CLDR - Unicode Common Locale Data Repository β
<http://cldr.unicode.org/> - Unicode Locale Data Markup Language (LDML) - UTS #35 β
<http://www.unicode.org/reports/tr35/> Unicode::CollateUnicode::Collate::Locale
this Unicode::Collate::CJK::Stroke(3pm) page ships with perl v5.42.3, dated 2026-11-03 π«Άπ
π¦ where this page comes from
- alpine 3.24: perl-doc 5.42.3-r0 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms