Results 1 to 6 of 6

Thread: ANSI Character Chart For Your Needs

  1. #1

    Thread Starter
    Supreme User Madboy's Avatar
    Join Date
    Oct 2003
    Location
    England
    Posts
    3,253

    ANSI Character Chart For Your Needs

    Code:
     Char Code Description
     
           9  Tab
          10  Line feed
          13  Carriage return
     ' '  32  Space
      !   33  Exclamation mark 
      "   34  Quotation mark
      #   35  Number sign
      $   36  Dollar sign
      %   37  Percent sign
      &   38  Ampersand
      '   39  Apostrophe
      (   40  Left parenthesis
      )   41  Right parenthesis
      *   42  Asterisk
      +   43  Plus sign
      ,   44  Comma
      -   45  Hyphen-minus
      .   46  Full stop
      /   47  Solidus
      0   48  Digit zero
      1   49  Digit one
      2   50  Digit two
      3   51  Digit three
      4   52  Digit four
      5   53  Digit five
      6   54  Digit six
      7   55  Digit seven
      8   56  Digit eight
      9   57  Digit nine
      :   58  Colon
      ;   59  Semicolon
      <   60  Less-than sign
      =   61  Equals sign
      >   62  Greater-than sign
      ?   63  Question mark
      @   64  Commercial at
      A   65  Latin capital letter A
      B   66  Latin capital letter B
      C   67  Latin capital letter C
      D   68  Latin capital letter D
      E   69  Latin capital letter E
      F   70  Latin capital letter F
      G   71  Latin capital letter G
      H   72  Latin capital letter H
      I   73  Latin capital letter I
      J   74  Latin capital letter J
      K   75  Latin capital letter K
      L   76  Latin capital letter L
      M   77  Latin capital letter M
      N   78  Latin capital letter N
      O   79  Latin capital letter O
      P   80  Latin capital letter P
      Q   81  Latin capital letter Q
      R   82  Latin capital letter R
      S   83  Latin capital letter S
      T   84  Latin capital letter T
      U   85  Latin capital letter U
      V   86  Latin capital letter V
      W   87  Latin capital letter W
      X   88  Latin capital letter X
      Y   89  Latin capital letter Y
      Z   90  Latin capital letter Z
      [   91  Left square bracket
      \   92  Reverse solidus
      ]   93  Right square bracket
      ^   94  Circumflex accent
      _   95  Low line
      `   96  Grave accent
      a   97  Latin small letter a
      b   98  Latin small letter b
      c   99  Latin small letter c
      d  100  Latin small letter d
      e  101  Latin small letter e
      f  102  Latin small letter f
      g  103  Latin small letter g
      h  104  Latin small letter h
      i  105  Latin small letter i
      j  106  Latin small letter j
      k  107  Latin small letter k
      l  108  Latin small letter l
      m  109  Latin small letter m
      n  110  Latin small letter n
      o  111  Latin small letter o
      p  112  Latin small letter p
      q  113  Latin small letter q
      r  114  Latin small letter r
      s  115  Latin small letter s
      t  116  Latin small letter t
      u  117  Latin small letter u
      v  118  Latin small letter v
      w  119  Latin small letter w
      x  120  Latin small letter x
      y  121  Latin small letter y
      z  122  Latin small letter z
      {  123  left curly bracket
      |  124  Vertical line
      }  125  Right curly bracket
      ~  126  Tilde
        127  (not used)
      €  128  Euro sign Currency Symbols
      �  129  (not used)
      ‚  130  Single low-9 quotation mark General Punctuation
      ƒ  131  Latin small letter f with hook Latin Extended-B
      „  132  Double low-9 quotation mark General Punctuation
      …  133  Horizontal ellipsis General Punctuation
      †  134  Dagger General Punctuation
      ‡  135  Double dagger General Punctuation
      ˆ  136  Modifier letter circumflex accent Spacing Modifier Letters
      ‰  137  Per mille sign General Punctuation
      Š  138  Latin capital letter S with caron Latin Extended-A
      ‹  139  Single left-pointing angle quotation mark General Punctuation
      Œ  140  Latin capital ligature OE Latin Extended-A
      �  141  (not used)
      Ž  142  Latin capital letter Z with caron Latin Extended-A
      �  143  (not used)
      �  144  (not used)
      ‘  145  Left single quotation mark General Punctuation
      ’  146  Right single quotation mark General Punctuation
      “  147  Left double quotation mark General Punctuation
      ”  148  Right double quotation mark General Punctuation
      •  149  Bullet General Punctuation
      –  150  En dash General Punctuation
      —  151  Em dash General Punctuation
      ˜  152  Small tilde Spacing Modifier Letters
      ™  153  Trade mark sign Letterlike Symbols
      š  154  Latin small letter s with caron Latin Extended-A
      ›  155  Single right-pointing angle quotation mark General Punctuation
      œ  156  Latin small ligature oe Latin Extended-A
      �  157  (not used)
      ž  158  Latin small letter z with caron Latin Extended-A
      Ÿ  159  Latin capital letter Y with diaeresis Latin Extended-A
         160  No-break space
      ¡  161  Inverted exclamation mark
      ¢  162  Cent sign
      £  163  Pound sign
      ¤  164  Currency sign
      ¥  165  Yen sign
      ¦  166  Broken bar
      §  167  Section sign
      ¨  168  Diaeresis
      ©  169  Copyright sign
      ª  170  Feminine ordinal indicator
      «  171  Left-pointing double angle quotation mark
      ¬  172  Not sign
        173  Soft hyphen
      ®  174  Registered sign
      ¯  175  Macron
      °  176  Degree sign
      ±  177  Plus-minus sign
      ²  178  Superscript two
      ³  179  Superscript three
      ´  180  Acute accent
      µ  181  Micro sign
      ¶  182  Pilcrow sign
      ·  183  Middle dot
      ¸  184  Cedilla
      ¹  185  Superscript one
      º  186  Masculine ordinal indicator
      »  187  Right-pointing double angle quotation mark
      ¼  188  Vulgar fraction one quarter
      ½  189  Vulgar fraction one half
      ¾  190  Vulgar fraction three quarters
      ¿  191  Inverted question mark
      À  192  Latin capital letter A with grave
      Á  193  Latin capital letter A with acute
      Â  194  Latin capital letter A with circumflex
      Ã  195  Latin capital letter A with tilde
      Ä  196  Latin capital letter A with diaeresis
      Å  197  Latin capital letter A with ring above
      Æ  198  Latin capital letter AE
      Ç  199  Latin capital letter C with cedilla
      È  200  Latin capital letter E with grave
      É  201  Latin capital letter E with acute
      Ê  202  Latin capital letter E with circumflex
      Ë  203  Latin capital letter E with diaeresis
      Ì  204  Latin capital letter I with grave
      Í  205  Latin capital letter I with acute
      Î  206  Latin capital letter I with circumflex
      Ï  207  Latin capital letter I with diaeresis
      Ð  208  Latin capital letter Eth
      Ñ  209  Latin capital letter N with tilde
      Ò  210  Latin capital letter O with grave
      Ó  211  Latin capital letter O with acute
      Ô  212  Latin capital letter O with circumflex
      Õ  213  Latin capital letter O with tilde
      Ö  214  Latin capital letter O with diaeresis
      ×  215  Multiplication sign
      Ø  216  Latin capital letter O with stroke
      Ù  217  Latin capital letter U with grave
      Ú  218  Latin capital letter U with acute
      Û  219  Latin capital letter U with circumflex
      Ü  220  Latin capital letter U with diaeresis
      Ý  221  Latin capital letter Y with acute
      Þ  222  Latin capital letter Thorn
      ß  223  Latin small letter sharp s
      à  224  Latin small letter a with grave
      á  225  Latin small letter a with acute
      â  226  Latin small letter a with circumflex
      ã  227  Latin small letter a with tilde
      ä  228  Latin small letter a with diaeresis
      å  229  Latin small letter a with ring above
      æ  230  Latin small letter ae
      ç  231  Latin small letter c with cedilla
      è  232  Latin small letter e with grave
      é  233  Latin small letter e with acute
      ê  234  Latin small letter e with circumflex
      ë  235  Latin small letter e with diaeresis
      ì  236  Latin small letter i with grave
      í  237  Latin small letter i with acute
      î  238  Latin small letter i with circumflex
      ï  239  Latin small letter i with diaeresis
      ð  240  Latin small letter eth
      ñ  241  Latin small letter n with tilde
      ò  242  Latin small letter o with grave
      ó  243  Latin small letter o with acute
      ô  244  Latin small letter o with circumflex
      õ  245  Latin small letter o with tilde
      ö  246  Latin small letter o with diaeresis
      ÷  247  Division sign
      ø  248  Latin small letter o with stroke
      ù  249  Latin small letter u with grave
      ú  250  Latin small letter u with acute
      û  251  Latin small letter  with circumflex
      ü  252  Latin small letter u with diaeresis
      ý  253  Latin small letter y with acute
      þ  254  Latin small letter thorn
      ÿ  255  Latin small letter y with diaeresis

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: ANSI Character Chart For Your Needs

    Cool.

    Saved to file for future reference!

  3. #3

    Thread Starter
    Supreme User Madboy's Avatar
    Join Date
    Oct 2003
    Location
    England
    Posts
    3,253

    Re: ANSI Character Chart For Your Needs

    Your welcome

  4. #4
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: ANSI Character Chart For Your Needs

    I refer to this instead:

    http://www.asciitable.com/

  5. #5
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: ANSI Character Chart For Your Needs

    That charts Extended Ascii is not correct. You should run something like this on your system to validate what your system actually supports.
    VB Code:
    1. Option Explicit
    2. 'Make Text1 multiline and scrollbars true.
    3. Private Sub Form_Load()
    4.     Dim i As Integer
    5.     For i = 0 To 255
    6.         Text1.Text = Text1.Text & i & " - " & Chr(i) & vbNewLine
    7.     Next
    8. End Sub
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  6. #6

    Thread Starter
    Supreme User Madboy's Avatar
    Join Date
    Oct 2003
    Location
    England
    Posts
    3,253

    Re: ANSI Character Chart For Your Needs

    That is how i got it

    Its done like so:

    Code:
    procedure TfrmCharacterViewer.FormCreate(Sender: TObject);
    var
      i: Integer;
    begin
      for i:= 0 to 255 do
      begin
        lstMain.Items.Add(intTostr(i) + ' - ' + Chr(i));
        lblInfo.Caption:= 'Displaying ' + intTostr(lstMain.Items.Count) + ' Characters';
      end
    end;
    Last edited by Madboy; Jul 4th, 2005 at 08:34 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width