diff options
-rw-r--r-- | ascii.html | 674 |
1 files changed, 674 insertions, 0 deletions
diff --git a/ascii.html b/ascii.html new file mode 100644 index 0000000..fb36136 --- /dev/null +++ b/ascii.html @@ -0,0 +1,674 @@ +<!DOCTYPE html> +<html> + <head> + <title>ascii</title> + <meta charset="utf-8" /> + <meta name="viewport" content="width=device-width" /> + <link rel="icon" type="image/jpg" href="assets/compass.jpg" /> + <link rel="stylesheet" href="css/normalize.css" /> + <style> + html { + line-height: 1.5; + font-family: Georgia, serif; + font-size: 20px; + } + body { + margin: 0 auto; + max-width: 60em; + padding: 50px; + text-align: center; + } + table { + border-collapse: collapse; + width: 100%; + display: block; + } + table caption { + margin-bottom: 0.75em; + } + tbody { + margin-top: 0.5em; + border-top: 1px solid #d0d7de; + border-bottom: 1px solid #d0d7de; + } + th { + border: 1px solid #d0d7de; + } + td { + border: 1px solid #d0d7de; + padding: 0.125em 0.5em 0.25em 0.5em; + } + .odd { + background-color: #f6f8fa; + } + </style> + </head> + <body> + <h1 id="ascii-table">ascii table</h1> + <table style="width: 100%"> + <colgroup> + <col style="width: 5%" /> + <col style="width: 6%" /> + <col style="width: 18%" /> + <col style="width: 1%" /> + <col style="width: 6%" /> + <col style="width: 6%" /> + <col style="width: 9%" /> + <col style="width: 1%" /> + <col style="width: 6%" /> + <col style="width: 6%" /> + <col style="width: 9%" /> + <col style="width: 1%" /> + <col style="width: 6%" /> + <col style="width: 6%" /> + <col style="width: 7%" /> + </colgroup> + <thead> + <tr class="header"> + <th>hex</th> + <th>dec</th> + <th>control char</th> + <th></th> + <th>hex</th> + <th>dec</th> + <th>punct</th> + <th></th> + <th>hex</th> + <th>dec</th> + <th>upper</th> + <th></th> + <th>hex</th> + <th>dec</th> + <th>lower</th> + </tr> + </thead> + <tbody> + <tr class="odd"> + <td>00</td> + <td>0</td> + <td>null (\0)</td> + <td></td> + <td>20</td> + <td>32</td> + <td><code>space</code></td> + <td></td> + <td>40</td> + <td>64</td> + <td><code>@</code></td> + <td></td> + <td>60</td> + <td>96</td> + <td>`</td> + </tr> + <tr class="even"> + <td>01</td> + <td>1</td> + <td>start of heading</td> + <td></td> + <td>21</td> + <td>33</td> + <td><code>!</code></td> + <td></td> + <td>41</td> + <td>65</td> + <td><code>A</code></td> + <td></td> + <td>61</td> + <td>97</td> + <td><code>a</code></td> + </tr> + <tr class="odd"> + <td>02</td> + <td>2</td> + <td>start of text</td> + <td></td> + <td>22</td> + <td>34</td> + <td><code>“</code></td> + <td></td> + <td>42</td> + <td>66</td> + <td><code>B</code></td> + <td></td> + <td>62</td> + <td>98</td> + <td><code>b</code></td> + </tr> + <tr class="even"> + <td>03</td> + <td>3</td> + <td>end of text</td> + <td></td> + <td>23</td> + <td>35</td> + <td><code>#</code></td> + <td></td> + <td>43</td> + <td>67</td> + <td><code>C</code></td> + <td></td> + <td>63</td> + <td>99</td> + <td><code>c</code></td> + </tr> + <tr class="odd"> + <td>04</td> + <td>4</td> + <td>end of transmission</td> + <td></td> + <td>24</td> + <td>36</td> + <td><code>$</code></td> + <td></td> + <td>44</td> + <td>68</td> + <td><code>D</code></td> + <td></td> + <td>64</td> + <td>100</td> + <td><code>d</code></td> + </tr> + <tr class="even"> + <td>05</td> + <td>5</td> + <td>enquiry</td> + <td></td> + <td>25</td> + <td>37</td> + <td><code>%</code></td> + <td></td> + <td>45</td> + <td>69</td> + <td><code>E</code></td> + <td></td> + <td>65</td> + <td>101</td> + <td><code>e</code></td> + </tr> + <tr class="odd"> + <td>06</td> + <td>6</td> + <td>acknowledge</td> + <td></td> + <td>26</td> + <td>38</td> + <td><code>&</code></td> + <td></td> + <td>46</td> + <td>70</td> + <td><code>F</code></td> + <td></td> + <td>66</td> + <td>102</td> + <td><code>f</code></td> + </tr> + <tr class="even"> + <td>07</td> + <td>7</td> + <td>bell (\a,^H)</td> + <td></td> + <td>27</td> + <td>39</td> + <td><code>‘</code></td> + <td></td> + <td>47</td> + <td>71</td> + <td><code>G</code></td> + <td></td> + <td>67</td> + <td>103</td> + <td><code>g</code></td> + </tr> + <tr class="odd"> + <td>08</td> + <td>8</td> + <td>backspace (\b)</td> + <td></td> + <td>28</td> + <td>40</td> + <td><code>(</code></td> + <td></td> + <td>48</td> + <td>72</td> + <td><code>H</code></td> + <td></td> + <td>68</td> + <td>104</td> + <td><code>h</code></td> + </tr> + <tr class="even"> + <td>09</td> + <td>9</td> + <td>tab (\t)</td> + <td></td> + <td>29</td> + <td>41</td> + <td><code>)</code></td> + <td></td> + <td>49</td> + <td>73</td> + <td><code>I</code></td> + <td></td> + <td>69</td> + <td>105</td> + <td><code>i</code></td> + </tr> + <tr class="odd"> + <td>0a</td> + <td>10</td> + <td>line feed (\n)</td> + <td></td> + <td>2a</td> + <td>42</td> + <td><code>*</code></td> + <td></td> + <td>4a</td> + <td>74</td> + <td><code>J</code></td> + <td></td> + <td>6a</td> + <td>106</td> + <td><code>j</code></td> + </tr> + <tr class="even"> + <td>0b</td> + <td>11</td> + <td>vertical tab (\v)</td> + <td></td> + <td>2b</td> + <td>43</td> + <td><code>+</code></td> + <td></td> + <td>4b</td> + <td>75</td> + <td><code>K</code></td> + <td></td> + <td>6b</td> + <td>107</td> + <td><code>k</code></td> + </tr> + <tr class="odd"> + <td>0c</td> + <td>12</td> + <td>form feed (\f)</td> + <td></td> + <td>2c</td> + <td>44</td> + <td><code>,</code></td> + <td></td> + <td>4c</td> + <td>76</td> + <td><code>L</code></td> + <td></td> + <td>6c</td> + <td>108</td> + <td><code>l</code></td> + </tr> + <tr class="even"> + <td>0d</td> + <td>13</td> + <td>carriage return (\r)</td> + <td></td> + <td>2d</td> + <td>45</td> + <td><code>-</code></td> + <td></td> + <td>4d</td> + <td>77</td> + <td><code>M</code></td> + <td></td> + <td>6d</td> + <td>109</td> + <td><code>m</code></td> + </tr> + <tr class="odd"> + <td>0e</td> + <td>14</td> + <td>shift out</td> + <td></td> + <td>2e</td> + <td>46</td> + <td><code>.</code></td> + <td></td> + <td>4e</td> + <td>78</td> + <td><code>N</code></td> + <td></td> + <td>6e</td> + <td>110</td> + <td><code>n</code></td> + </tr> + <tr class="even"> + <td>0f</td> + <td>15</td> + <td>shift in</td> + <td></td> + <td>2f</td> + <td>47</td> + <td><code>/</code></td> + <td></td> + <td>4f</td> + <td>79</td> + <td><code>O</code></td> + <td></td> + <td>6f</td> + <td>111</td> + <td><code>o</code></td> + </tr> + <tr class="odd"> + <td>10</td> + <td>16</td> + <td>data link escape</td> + <td></td> + <td>30</td> + <td>48</td> + <td><code>0</code></td> + <td></td> + <td>50</td> + <td>80</td> + <td><code>P</code></td> + <td></td> + <td>70</td> + <td>112</td> + <td><code>p</code></td> + </tr> + <tr class="even"> + <td>11</td> + <td>17</td> + <td>device control one</td> + <td></td> + <td>31</td> + <td>49</td> + <td><code>1</code></td> + <td></td> + <td>51</td> + <td>81</td> + <td><code>Q</code></td> + <td></td> + <td>71</td> + <td>113</td> + <td><code>q</code></td> + </tr> + <tr class="odd"> + <td>12</td> + <td>18</td> + <td>device control two</td> + <td></td> + <td>32</td> + <td>50</td> + <td><code>2</code></td> + <td></td> + <td>52</td> + <td>82</td> + <td><code>R</code></td> + <td></td> + <td>72</td> + <td>114</td> + <td><code>r</code></td> + </tr> + <tr class="even"> + <td>13</td> + <td>19</td> + <td>device control three</td> + <td></td> + <td>33</td> + <td>51</td> + <td><code>3</code></td> + <td></td> + <td>53</td> + <td>83</td> + <td><code>S</code></td> + <td></td> + <td>73</td> + <td>115</td> + <td><code>s</code></td> + </tr> + <tr class="odd"> + <td>14</td> + <td>20</td> + <td>device control four</td> + <td></td> + <td>34</td> + <td>52</td> + <td><code>4</code></td> + <td></td> + <td>54</td> + <td>84</td> + <td><code>T</code></td> + <td></td> + <td>74</td> + <td>116</td> + <td><code>t</code></td> + </tr> + <tr class="even"> + <td>15</td> + <td>21</td> + <td>negative acknowledge</td> + <td></td> + <td>35</td> + <td>53</td> + <td><code>5</code></td> + <td></td> + <td>55</td> + <td>85</td> + <td><code>U</code></td> + <td></td> + <td>75</td> + <td>117</td> + <td><code>u</code></td> + </tr> + <tr class="odd"> + <td>16</td> + <td>22</td> + <td>synchronous idle</td> + <td></td> + <td>36</td> + <td>54</td> + <td><code>6</code></td> + <td></td> + <td>56</td> + <td>86</td> + <td><code>V</code></td> + <td></td> + <td>76</td> + <td>118</td> + <td><code>v</code></td> + </tr> + <tr class="even"> + <td>17</td> + <td>23</td> + <td>end of transmission</td> + <td></td> + <td>37</td> + <td>55</td> + <td><code>7</code></td> + <td></td> + <td>57</td> + <td>87</td> + <td><code>W</code></td> + <td></td> + <td>77</td> + <td>119</td> + <td><code>w</code></td> + </tr> + <tr class="odd"> + <td>18</td> + <td>24</td> + <td>cancel</td> + <td></td> + <td>38</td> + <td>56</td> + <td><code>8</code></td> + <td></td> + <td>58</td> + <td>88</td> + <td><code>X</code></td> + <td></td> + <td>78</td> + <td>120</td> + <td><code>x</code></td> + </tr> + <tr class="even"> + <td>19</td> + <td>25</td> + <td>end of medium</td> + <td></td> + <td>39</td> + <td>57</td> + <td><code>9</code></td> + <td></td> + <td>59</td> + <td>89</td> + <td><code>Y</code></td> + <td></td> + <td>79</td> + <td>121</td> + <td><code>y</code></td> + </tr> + <tr class="odd"> + <td>1a</td> + <td>26</td> + <td>substitute</td> + <td></td> + <td>3a</td> + <td>58</td> + <td><code>:</code></td> + <td></td> + <td>5a</td> + <td>90</td> + <td><code>Z</code></td> + <td></td> + <td>7a</td> + <td>122</td> + <td><code>z</code></td> + </tr> + <tr class="even"> + <td>1b</td> + <td>27</td> + <td>escape</td> + <td></td> + <td>3b</td> + <td>59</td> + <td><code>;</code></td> + <td></td> + <td>5b</td> + <td>91</td> + <td><code>[</code></td> + <td></td> + <td>7b</td> + <td>123</td> + <td><code>{</code></td> + </tr> + <tr class="odd"> + <td>1c</td> + <td>28</td> + <td>file separator</td> + <td></td> + <td>3c</td> + <td>60</td> + <td><code><</code></td> + <td></td> + <td>5c</td> + <td>92</td> + <td><code>\</code></td> + <td></td> + <td>7c</td> + <td>124</td> + <td><code>|</code></td> + </tr> + <tr class="even"> + <td>1d</td> + <td>29</td> + <td>group separator</td> + <td></td> + <td>3d</td> + <td>61</td> + <td><code>=</code></td> + <td></td> + <td>5d</td> + <td>93</td> + <td><code>]</code></td> + <td></td> + <td>7d</td> + <td>125</td> + <td><code>}</code></td> + </tr> + <tr class="odd"> + <td>1e</td> + <td>30</td> + <td>record separator</td> + <td></td> + <td>3e</td> + <td>62</td> + <td><code>></code></td> + <td></td> + <td>5e</td> + <td>94</td> + <td><code>^</code></td> + <td></td> + <td>7e</td> + <td>126</td> + <td><code>~</code></td> + </tr> + <tr class="even"> + <td>1f</td> + <td>31</td> + <td>unit separator</td> + <td></td> + <td>3f</td> + <td>63</td> + <td><code>?</code></td> + <td></td> + <td>5f</td> + <td>95</td> + <td><code>_</code></td> + <td></td> + <td>7f</td> + <td>127</td> + <td><code>DEL</code></td> + </tr> + </tbody> + </table> + </body> +</html> + +<!-- + +# ascii table + +hex | dec | control char || hex | dec | punct || hex | dec | upper || hex | dec | lower +----|-----|--------------|-|-----|-----|-------|-|-----|-----|-------|-|-----|-----|------ +00 | 0 | null (\\0) || 20 | 32 | `space` || 40 | 64 | `@` || 60 | 96 | \` +01 | 1 | start of heading || 21 | 33 | `!` || 41 | 65 | `A` || 61 | 97 | `a` +02 | 2 | start of text || 22 | 34 | `“` || 42 | 66 | `B` || 62 | 98 | `b` +03 | 3 | end of text || 23 | 35 | `#` || 43 | 67 | `C` || 63 | 99 | `c` +04 | 4 | end of transmission || 24 | 36 | `$` || 44 | 68 | `D` || 64 | 100 | `d` +05 | 5 | enquiry || 25 | 37 | `%` || 45 | 69 | `E` || 65 | 101 | `e` +06 | 6 | acknowledge || 26 | 38 | `&` || 46 | 70 | `F` || 66 | 102 | `f` +07 | 7 | bell (\\a,^H) || 27 | 39 | `‘` || 47 | 71 | `G` || 67 | 103 | `g` +08 | 8 | backspace (\\b) || 28 | 40 | `(` || 48 | 72 | `H` || 68 | 104 | `h` +09 | 9 | tab (\\t) || 29 | 41 | `)` || 49 | 73 | `I` || 69 | 105 | `i` +0a | 10 | line feed (\\n) || 2a | 42 | `*` || 4a | 74 | `J` || 6a | 106 | `j` +0b | 11 | vertical tab (\\v) || 2b | 43 | `+` || 4b | 75 | `K` || 6b | 107 | `k` +0c | 12 | form feed (\\f) || 2c | 44 | `,` || 4c | 76 | `L` || 6c | 108 | `l` +0d | 13 | carriage return (\\r) || 2d | 45 | `-` || 4d | 77 | `M` || 6d | 109 | `m` +0e | 14 | shift out || 2e | 46 | `.` || 4e | 78 | `N` || 6e | 110 | `n` +0f | 15 | shift in || 2f | 47 | `/` || 4f | 79 | `O` || 6f | 111 | `o` +10 | 16 | data link escape || 30 | 48 | `0` || 50 | 80 | `P` || 70 | 112 | `p` +11 | 17 | device control one || 31 | 49 | `1` || 51 | 81 | `Q` || 71 | 113 | `q` +12 | 18 | device control two || 32 | 50 | `2` || 52 | 82 | `R` || 72 | 114 | `r` +13 | 19 | device control three || 33 | 51 | `3` || 53 | 83 | `S` || 73 | 115 | `s` +14 | 20 | device control four || 34 | 52 | `4` || 54 | 84 | `T` || 74 | 116 | `t` +15 | 21 | negative acknowledge || 35 | 53 | `5` || 55 | 85 | `U` || 75 | 117 | `u` +16 | 22 | synchronous idle || 36 | 54 | `6` || 56 | 86 | `V` || 76 | 118 | `v` +17 | 23 | end of transmission || 37 | 55 | `7` || 57 | 87 | `W` || 77 | 119 | `w` +18 | 24 | cancel || 38 | 56 | `8` || 58 | 88 | `X` || 78 | 120 | `x` +19 | 25 | end of medium || 39 | 57 | `9` || 59 | 89 | `Y` || 79 | 121 | `y` +1a | 26 | substitute || 3a | 58 | `:` || 5a | 90 | `Z` || 7a | 122 | `z` +1b | 27 | escape || 3b | 59 | `;` || 5b | 91 | `[` || 7b | 123 | `{` +1c | 28 | file separator || 3c | 60 | `<` || 5c | 92 | `\` || 7c | 124 | `|` +1d | 29 | group separator || 3d | 61 | `=` || 5d | 93 | `]` || 7d | 125 | `}` +1e | 30 | record separator || 3e | 62 | `>` || 5e | 94 | `^` || 7e | 126 | `~` +1f | 31 | unit separator || 3f | 63 | `?` || 5f | 95 | `_` || 7f | 127 | `DEL` + +--> |