Unicode::CharName(3)
π NAME π
ok so bestie, this is Unicode::CharName β a whole module whose entire personality is looking up Unicode character names. that's it, that's the vibe β¨ it's a User Contributed Perl Documentation page, and it's lowkey iconic.
πΈ SYNOPSIS πΈ
like, here's the whole thing in action:
use Unicode::CharName qw(uname ublock);
print uname(ord('%')), "\n";
print ublock(0x0300), "\n";
that's literally it. two functions, zero drama π
π¦ DESCRIPTION π¦
so this module provides two functions named uname() and ublock(). two besties, both doing very important work π«Ά
β¨ uname() β¨
uname() returns the Unicode character name for the code you pass in β and that code has to be a number between 0 and 0x10FFFF. no cap, that's the range.
Unicode character names are written in upper-case ASCII letters, and they're strings that look exactly like these:
LATIN CAPITAL LETTER A
LATIN SMALL LETTER A WITH RING ABOVE
CJK UNIFIED IDEOGRAPH 7C80
HANGUL SYLLABLE PWILH
look at HANGUL SYLLABLE PWILH β main character energy honestly ππ
π ublock() π
ublock() returns the name of the Unicode character block that the given character belongs to. like, which neighborhood your little character lives in π‘
β SEE ALSO β
Unicode::Stringβ go check it out bestie, iykyk
π COPYRIGHT π
Copyright 1997,2005 Gisle Aas.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Name table extracted from the Unicode 4.1 Character Database. Copyright (c) 1991-2005 Unicode, Inc. All Rights reserved.
fr fr that's the whole page β go name some characters, you got this π
ok and finally the cute sign-off: this was perl v5.42.0, dated 2016-09-09, and the page is Unicode::CharName(3) β slay, periodt ππ
π¦ where this page comes from
- opensuse-leap 16.0: perl-Unicode-String 2.10-160000.2.2 Β· GPL-1.0+ or Artistic-1.0
- opensuse-leap 16.0: perl-Unicode-String 2.10-160000.2.2 Β· GPL-1.0+ or Artistic-1.0
- opensuse-leap 16.0: perl-Unicode-String 2.10-160000.2.2 Β· GPL-1.0+ or Artistic-1.0
- opensuse-leap 16.0: perl-Unicode-String 2.10-160000.2.2 Β· GPL-1.0+ or Artistic-1.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms