How to print utf-8 and unicode tables from the terminal

terminalunicode

The ascii table can be displayed from the terminal using man ascii.

So, is there a package I can install to show the utf-8 and unicode table from the terminal? For example, when I type man utf-8, a utf-8 character table is displayed ; and when I type man unicode, a unicode character table is displayed.

Best Answer

Here is one that I quickly hacked together. It needs a little work on the formatting, but basicly it works.

#!/bin/bash
for y in $(seq 0 524287)
  do
  for x in $(seq 0 7)
  do
    a=$(expr $y \* 8 + $x)
    echo -ne "$a \\u$a "
  done
  echo
done
Related Question