ascii 码,在编程中起到至关重要的作用。之前忘记时,要么使用程序,要么搜索网页;
而在linux 中可以方便使用 manpage 查询,这是我没想到的,今天记录一下,很方便。
代码语言:javascript复制man ascii
https://man7.org/linux/man-pages/man7/ascii.7.html
代码语言:javascript复制ASCII(7) Linux Programmer's Manual ASCII(7)
NAME top
ascii - ASCII character set encoded in octal, decimal, and
hexadecimal
DESCRIPTION top
ASCII is the American Standard Code for Information Interchange.
It is a 7-bit code. Many 8-bit codes (e.g., ISO 8859-1) contain
ASCII as their lower half. The international counterpart of
ASCII is known as ISO 646-IRV.
The following table contains the 128 ASCII characters.
C program 'X' escapes are noted.
│
Oct Dec Hex Char │ Oct Dec Hex Char
────────────────────────────────────────────┼───────────────────────────
000 0 00 NUL '