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.

  1. Unicode Character Search: The Unicode Character Search tool allows you to search for Unicode characters by name, code point, or character.
  2. HTML Entity Lookup: The HTML Entity Lookup tool allows you to look up HTML character entities by name or number.
  3. grep: You can use the grep command to search for characters by name or number in Unicode character tables.
  4. unichars: The unichars command line tool can be used to lookup Unicode characters by name or code point.

For example, to lookup the Unicode character for the heart symbol, you can run the following command:

grep -w "HEART" /usr/share/unicode/UnicodeData.txt

This 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 So

This indicates that the Unicode character for the heart symbol has a code point of U+2665.

Leave a Comment