unicode - interpret Unicode characters — Inferno 1ed
unicode - interpret Unicode characters
unicode [-nt] hexmin - hexmax unicode [-t] hex [...] unicode [-n] characters
Description
The unicode command converts between UTF and character values from the Unicode Standard (see UTF, Unicode, ASCII - character set and format in Appendix A).
If given a range of hexadecimal numbers, unicode prints a table of the specified Unicode characters including their values and UTF representations. Otherwise, it translates from UTF to numeric value or numeric value to UTF, depending on the appearance of the supplied text.
Options
The file /lib/unicode contains a table of characters and descriptions sorted in hexadecimal order.
Examples
|
unicode p
|
Print the hex value of p.
|
|
unicode 2200-22f1
|
Print a table of miscellaneous mathematical symbols.
|
Files
|
/lib/unicode
|
Table of characters and descriptions.
|
See Also
|
UTF, Unicode, ASCII - character set and format in Appendix A
|
|
font, subfont - external format for character fonts and subfonts in Appendix A
|
infernosupport@lucent.com Copyright © 1996,Lucent Technologies, Inc. All rights reserved.