{
    "content": [
        {
            "type": "text",
            "text": "# ascii(7) (man)\n\n**Summary:** ascii - ASCII character set encoded in octal, decimal, and hexadecimal\n\n## See Also\n\n- charsets(7)\n- iso8859-1(7)\n- iso8859-2(7)\n- iso8859-3(7)\n- iso8859-4(7)\n- iso8859-5(7)\n- iso8859-6(7)\n- iso8859-7(7)\n- iso8859-8(7)\n- iso8859-9(7)\n- iso8859-10(7)\n- iso8859-11(7)\n- iso8859-13(7)\n- iso8859-14(7)\n- iso8859-15(7)\n- iso8859-16(7)\n- utf-8(7)\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **DESCRIPTION** (76 lines) — 1 subsections\n  - Tables (21 lines)\n- **NOTES** (1 lines) — 1 subsections\n  - History (13 lines)\n- **SEE ALSO** (4 lines)\n- **COLOPHON** (7 lines)\n\n## Full Content\n\n### NAME\n\nascii - ASCII character set encoded in octal, decimal, and hexadecimal\n\n### DESCRIPTION\n\nASCII  is  the American Standard Code for Information Interchange.  It is a 7-bit code.  Many\n8-bit codes (e.g., ISO 8859-1) contain ASCII as their lower half.  The international counter‐\npart of ASCII is known as ISO 646-IRV.\n\nThe following table contains the 128 ASCII characters.\n\nC program '\\X' escapes are noted.\n\nOct   Dec   Hex   Char                        Oct   Dec   Hex   Char\n────────────────────────────────────────────────────────────────────────\n000   0     00    NUL '\\0' (null character)   100   64    40    @\n001   1     01    SOH (start of heading)      101   65    41    A\n002   2     02    STX (start of text)         102   66    42    B\n003   3     03    ETX (end of text)           103   67    43    C\n004   4     04    EOT (end of transmission)   104   68    44    D\n005   5     05    ENQ (enquiry)               105   69    45    E\n006   6     06    ACK (acknowledge)           106   70    46    F\n007   7     07    BEL '\\a' (bell)             107   71    47    G\n010   8     08    BS  '\\b' (backspace)        110   72    48    H\n011   9     09    HT  '\\t' (horizontal tab)   111   73    49    I\n012   10    0A    LF  '\\n' (new line)         112   74    4A    J\n013   11    0B    VT  '\\v' (vertical tab)     113   75    4B    K\n014   12    0C    FF  '\\f' (form feed)        114   76    4C    L\n015   13    0D    CR  '\\r' (carriage ret)     115   77    4D    M\n016   14    0E    SO  (shift out)             116   78    4E    N\n017   15    0F    SI  (shift in)              117   79    4F    O\n020   16    10    DLE (data link escape)      120   80    50    P\n021   17    11    DC1 (device control 1)      121   81    51    Q\n022   18    12    DC2 (device control 2)      122   82    52    R\n023   19    13    DC3 (device control 3)      123   83    53    S\n024   20    14    DC4 (device control 4)      124   84    54    T\n025   21    15    NAK (negative ack.)         125   85    55    U\n026   22    16    SYN (synchronous idle)      126   86    56    V\n027   23    17    ETB (end of trans. blk)     127   87    57    W\n030   24    18    CAN (cancel)                130   88    58    X\n031   25    19    EM  (end of medium)         131   89    59    Y\n032   26    1A    SUB (substitute)            132   90    5A    Z\n033   27    1B    ESC (escape)                133   91    5B    [\n034   28    1C    FS  (file separator)        134   92    5C    \\  '\\\\'\n035   29    1D    GS  (group separator)       135   93    5D    ]\n036   30    1E    RS  (record separator)      136   94    5E    ^\n037   31    1F    US  (unit separator)        137   95    5F\n040   32    20    SPACE                       140   96    60    `\n041   33    21    !                           141   97    61    a\n042   34    22    \"                           142   98    62    b\n043   35    23    #                           143   99    63    c\n044   36    24    $                           144   100   64    d\n045   37    25    %                           145   101   65    e\n046   38    26    &                           146   102   66    f\n047   39    27    '                           147   103   67    g\n050   40    28    (                           150   104   68    h\n051   41    29    )                           151   105   69    i\n052   42    2A    *                           152   106   6A    j\n053   43    2B    +                           153   107   6B    k\n054   44    2C    ,                           154   108   6C    l\n055   45    2D    -                           155   109   6D    m\n056   46    2E    .                           156   110   6E    n\n\n057   47    2F    /                           157   111   6F    o\n060   48    30    0                           160   112   70    p\n061   49    31    1                           161   113   71    q\n062   50    32    2                           162   114   72    r\n063   51    33    3                           163   115   73    s\n064   52    34    4                           164   116   74    t\n065   53    35    5                           165   117   75    u\n066   54    36    6                           166   118   76    v\n067   55    37    7                           167   119   77    w\n070   56    38    8                           170   120   78    x\n071   57    39    9                           171   121   79    y\n072   58    3A    :                           172   122   7A    z\n073   59    3B    ;                           173   123   7B    {\n074   60    3C    <                           174   124   7C    |\n075   61    3D    =                           175   125   7D    }\n076   62    3E    >                           176   126   7E    ~\n077   63    3F    ?                           177   127   7F    DEL\n\n#### Tables\n\nFor convenience, below are more compact tables in hex and decimal.\n\n2 3 4 5 6 7       30 40 50 60 70 80 90 100 110 120\n-------------      ---------------------------------\n0:   0 @ P ` p     0:    (  2  <  F  P  Z  d   n   x\n1: ! 1 A Q a q     1:    )  3  =  G  Q  [  e   o   y\n2: \" 2 B R b r     2:    *  4  >  H  R  \\  f   p   z\n3: # 3 C S c s     3: !  +  5  ?  I  S  ]  g   q   {\n4: $ 4 D T d t     4: \"  ,  6  @  J  T  ^  h   r   |\n5: % 5 E U e u     5: #  -  7  A  K  U    i   s   }\n6: & 6 F V f v     6: $  .  8  B  L  V  `  j   t   ~\n7: ' 7 G W g w     7: %  /  9  C  M  W  a  k   u  DEL\n8: ( 8 H X h x     8: &  0  :  D  N  X  b  l   v\n9: ) 9 I Y i y     9: '  1  ;  E  O  Y  c  m   w\nA: * : J Z j z\nB: + ; K [ k {\nC: , < L \\ l |\nD: - = M ] m }\nE: . > N ^ n ~\nF: / ? O  o DEL\n\n### NOTES\n\n#### History\n\nAn ascii manual page appeared in Version 7 of AT&T UNIX.\n\nOn  older  terminals, the underscore code is displayed as a left arrow, called backarrow, the\ncaret is displayed as an up-arrow and the vertical bar has a hole in the middle.\n\nUppercase and lowercase characters differ by just one bit and the ASCII character  2  differs\nfrom  the  double  quote by just one bit, too.  That made it much easier to encode characters\nmechanically or with a non-microcontroller-based electronic keyboard  and  that  pairing  was\nfound on old teletypes.\n\nThe  ASCII standard was published by the United States of America Standards Institute (USASI)\nin 1968.\n\n### SEE ALSO\n\ncharsets(7),  iso8859-1(7),  iso8859-2(7),  iso8859-3(7),  iso8859-4(7),   iso8859-5(7),\niso8859-6(7),  iso8859-7(7),  iso8859-8(7), iso8859-9(7), iso8859-10(7), iso8859-11(7),\niso8859-13(7), iso8859-14(7), iso8859-15(7), iso8859-16(7), utf-8(7)\n\n### COLOPHON\n\nThis page is part of release 5.10 of the Linux  man-pages  project.   A  description  of  the\nproject,  information about reporting bugs, and the latest version of this page, can be found\nat https://www.kernel.org/doc/man-pages/.\n\n\n\nLinux                                        2020-06-09                                     ASCII(7)\n\n"
        }
    ],
    "structuredContent": {
        "command": "ascii",
        "section": "7",
        "mode": "man",
        "summary": "ascii - ASCII character set encoded in octal, decimal, and hexadecimal",
        "synopsis": null,
        "flags": [],
        "examples": [],
        "see_also": [
            {
                "name": "charsets",
                "section": "7",
                "url": "https://www.chedong.com/phpMan.php/man/charsets/7/json"
            },
            {
                "name": "iso8859-1",
                "section": "7",
                "url": "https://www.chedong.com/phpMan.php/man/iso8859-1/7/json"
            },
            {
                "name": "iso8859-2",
                "section": "7",
                "url": "https://www.chedong.com/phpMan.php/man/iso8859-2/7/json"
            },
            {
                "name": "iso8859-3",
                "section": "7",
                "url": "https://www.chedong.com/phpMan.php/man/iso8859-3/7/json"
            },
            {
                "name": "iso8859-4",
                "section": "7",
                "url": "https://www.chedong.com/phpMan.php/man/iso8859-4/7/json"
            },
            {
                "name": "iso8859-5",
                "section": "7",
                "url": "https://www.chedong.com/phpMan.php/man/iso8859-5/7/json"
            },
            {
                "name": "iso8859-6",
                "section": "7",
                "url": "https://www.chedong.com/phpMan.php/man/iso8859-6/7/json"
            },
            {
                "name": "iso8859-7",
                "section": "7",
                "url": "https://www.chedong.com/phpMan.php/man/iso8859-7/7/json"
            },
            {
                "name": "iso8859-8",
                "section": "7",
                "url": "https://www.chedong.com/phpMan.php/man/iso8859-8/7/json"
            },
            {
                "name": "iso8859-9",
                "section": "7",
                "url": "https://www.chedong.com/phpMan.php/man/iso8859-9/7/json"
            },
            {
                "name": "iso8859-10",
                "section": "7",
                "url": "https://www.chedong.com/phpMan.php/man/iso8859-10/7/json"
            },
            {
                "name": "iso8859-11",
                "section": "7",
                "url": "https://www.chedong.com/phpMan.php/man/iso8859-11/7/json"
            },
            {
                "name": "iso8859-13",
                "section": "7",
                "url": "https://www.chedong.com/phpMan.php/man/iso8859-13/7/json"
            },
            {
                "name": "iso8859-14",
                "section": "7",
                "url": "https://www.chedong.com/phpMan.php/man/iso8859-14/7/json"
            },
            {
                "name": "iso8859-15",
                "section": "7",
                "url": "https://www.chedong.com/phpMan.php/man/iso8859-15/7/json"
            },
            {
                "name": "iso8859-16",
                "section": "7",
                "url": "https://www.chedong.com/phpMan.php/man/iso8859-16/7/json"
            },
            {
                "name": "utf-8",
                "section": "7",
                "url": "https://www.chedong.com/phpMan.php/man/utf-8/7/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 76,
                "subsections": [
                    {
                        "name": "Tables",
                        "lines": 21
                    }
                ]
            },
            {
                "name": "NOTES",
                "lines": 1,
                "subsections": [
                    {
                        "name": "History",
                        "lines": 13
                    }
                ]
            },
            {
                "name": "SEE ALSO",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "COLOPHON",
                "lines": 7,
                "subsections": []
            }
        ]
    }
}