leah blogs

July 2013

11jul2013 · Summer of Scripts: uni

uni is a small script that uses the Perl Unicode tables to search for Unicode characters by name, glyph or hexadecimal codepoint.

% uni gamma 
Ɣ       0194    LATIN CAPITAL LETTER GAMMA
ɣ       0263    LATIN SMALL LETTER GAMMA
ˠ       02E0    MODIFIER LETTER SMALL GAMMA
Γ       0393    GREEK CAPITAL LETTER GAMMA
γ       03B3    GREEK SMALL LETTER GAMMA
Ϝ       03DC    GREEK LETTER DIGAMMA
...

% uni ツ
ツ      30C4    KATAKANA LETTER TU

% uni 00B1
±       00B1    PLUS-MINUS SIGN

The nice thing about this script is that it works everywhere a half-way modern Perl is installed and doesn’t need additional tables or internet access.

NP: Fliehende Stürme—Höhlen sind dunkel

Copyright © 2004–2022