lundi 13 août 2012

Search for a unicode character.

If you're fed up with opening the so-called gucharmap (or any other equivalent) to look for a specific unicode character, you might be interested in this python script based on the standard unicodedata module.

$ searchUnicode.py letter lamda
Λ GREEK CAPITAL LETTER LAMDA &#923 0x39b
λ GREEK SMALL LETTER LAMDA &#955 0x3bb
ᴧ GREEK LETTER SMALL CAPITAL LAMDA &#7463 0x1d27

$ searchUnicode.py "letter lamda"
Λ GREEK CAPITAL LETTER LAMDA &#923 0x39b
λ GREEK SMALL LETTER LAMDA &#955 0x3bb