Linux / Unix: Unicode and HTML Characters Lookup By Name or Number
There are several tools you can use to lookup Unicode and HTML characters by name or number on Linux/Unix systems.
- Unicode Character Search: The Unicode Character Search tool allows you to search for Unicode characters by name, code point, or character.
- HTML Entity Lookup: The HTML Entity Lookup tool allows you to look up HTML character entities by name or number.
grep: You can use thegrepcommand to search for characters by name or number in Unicode character tables.unichars: Theunicharscommand line tool can be used to lookup Unicode characters by name or code point.
grep -w "HEART" /usr/share/unicode/UnicodeData.txtThis will display the line in the UnicodeData.txt file that contains the information for the heart symbol. The output will look like this:
U+2665 HEART SYMBOL Sm SoThis indicates that the Unicode character for the heart symbol has a code point of U+2665.
