Collate...ISX0208(3)
β¨ NAME β¨
So this is Unicode::Collate::CJK::JISX0208 β it's the module that does the weighting of JIS KANJI for Unicode::Collate, and honestly? It's giving unsung hero π
(Also hi, this is page 3 of the User Contributed Perl Documentation section, if you were wondering where you wandered into π)
πΈ SYNOPSIS πΈ
Like, here's the whole vibe, bestie β copy-paste and go:
use Unicode::Collate;
use Unicode::Collate::CJK::JISX0208;
my $collator = Unicode::Collate->new(
overrideCJK => \&Unicode::Collate::CJK::JISX0208::weightJISX0208
);
That's it. That's the post. β¨
π DESCRIPTION π
Okay so Unicode::Collate::CJK::JISX0208 hands you weightJISX0208(), and that function is literally made for the overrideCJK slot of Unicode::Collate. It's custom-built, no cap π«Ά
And what does it actually do? It makes the tailoring of 6355 kanji (CJK Unified Ideographs, yeah those ones) happen in the JIS X 0208 order. 6355 of them. Not a rounding error, not a vibe β an actual number, and it's iconic π
Fr fr, 6355 is the number. Don't @ me with a different one.
π¦ SEE ALSO π¦
Unicode::Collateβ the main character, the one you're overriding forUnicode::Collate::Localeβ the locale-flavoured sibling, go say hi
π sign-off π
Mwah, that's the page π This lil beauty ships with perl v5.42.0 and was last touched on 2021-08-23, so it's got that vintage-but-still-slaying energy. Go collate something pretty πβ
π¦ where this page comes from
- opensuse-leap 16.0: perl-Unicode-Collate 1.31-160000.2.2 Β· Artistic-1.0 OR GPL-1.0-or-later
- opensuse-leap 16.0: perl-Unicode-Collate 1.31-160000.2.2 Β· Artistic-1.0 OR GPL-1.0-or-later
- opensuse-leap 16.0: perl-Unicode-Collate 1.31-160000.2.2 Β· Artistic-1.0 OR GPL-1.0-or-later
- opensuse-leap 16.0: perl-Unicode-Collate 1.31-160000.2.2 Β· Artistic-1.0 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