Uni()
From LING073
To get the codepoints of typed or copied characters, a simple command can be defined on a terminal.
uni(){ c=$(cat); for((i=0;i<${#c};i++)); do printf "<U%04X>" "'${c:i:1}"; done; }
To use the command, do something like this:
$ echo ä | uni