Collate...:GB2312(3)

πŸ“¦ version 1.31, in opensuse-leap 16.0

πŸŽ€ NAME πŸŽ€

Okay so this page is Collate...:GB2312(3) β€” the User Contributed Perl Documentation situation for Unicode::Collate::CJK::GB2312, which is the module that does the CJK weighting thing for Unicode::Collate. Bestie, it's giving β€œsmall module, very specific job, zero drama” πŸ’…βœ¨

✨ SYNOPSIS ✨

Like, here's the whole vibe in code form:

        use Unicode::Collate;
        use Unicode::Collate::CJK::GB2312;

        my $collator = Unicode::Collate->new(
            overrideCJK => \&Unicode::Collate::CJK::GB2312::weightGB2312
        );

πŸ’– DESCRIPTION πŸ’–

So Unicode::Collate::CJK::GB2312 provides weightGB2312(). That function is adequate for overrideCJK of Unicode::Collate, and it makes tailoring of CJK Unified Ideographs in the order of CLDR's gb2312han ordering. No cap, that's literally its whole moment 🌸

🫢 CAVEAT 🫢

Heads up, bestie β€” the gb2312han ordering includes 5 code points in private use area (E2D8..E2DC), and those can't utilize weightGB2312() for collation. For them, use entry instead. That's the whole warning; don't skip it πŸ™ˆπŸ’€

🌈 SEE ALSO 🌈


That's the page, bestie β€” brought to you by perl v5.42.0, dated 2021-08-23, and yes, it ate πŸ’…πŸŽ€βœ¨

πŸ“¦ where this page comes from