📊 UTF-16 ASCII Encoding Table

Character encoding reference: UTF-16 ↔ US-ASCII

Select Encoding Comparison

Character Reference Table

Decimal Hex Character HTML Entity Description
90x09Tab
100x0ALine Feed
130x0DCarriage Return
320x20 Space
330x21!Printable
340x22""Printable
350x23#Printable
360x24$Printable
370x25%Printable
380x26&&Printable
390x27'Printable
400x28(Printable
410x29)Printable
420x2A*Printable
430x2B+Printable
440x2C,Printable
450x2D-Printable
460x2E.Printable
470x2F/Printable
480x300Printable
490x311Printable
500x322Printable
510x333Printable
520x344Printable
530x355Printable
540x366Printable
550x377Printable
560x388Printable
570x399Printable
580x3A:Printable
590x3B;Printable
600x3C<<Printable
610x3D=Printable
620x3E>>Printable
630x3F?Printable
640x40@Printable
650x41APrintable
660x42BPrintable
670x43CPrintable
680x44DPrintable
690x45EPrintable
700x46FPrintable
710x47GPrintable
720x48HPrintable
730x49IPrintable
740x4AJPrintable
750x4BKPrintable
760x4CLPrintable
770x4DMPrintable
780x4ENPrintable
790x4FOPrintable
800x50PPrintable
810x51QPrintable
820x52RPrintable
830x53SPrintable
840x54TPrintable
850x55UPrintable
860x56VPrintable
870x57WPrintable
880x58XPrintable
890x59YPrintable
900x5AZPrintable
910x5B[Printable
920x5C\Printable
930x5D]Printable
940x5E^Printable
950x5F_Printable
960x60`Printable
970x61aPrintable
980x62bPrintable
990x63cPrintable
1000x64dPrintable
1010x65ePrintable
1020x66fPrintable
1030x67gPrintable
1040x68hPrintable
1050x69iPrintable
1060x6AjPrintable
1070x6BkPrintable
1080x6ClPrintable
1090x6DmPrintable
1100x6EnPrintable
1110x6FoPrintable
1120x70pPrintable
1130x71qPrintable
1140x72rPrintable
1150x73sPrintable
1160x74tPrintable
1170x75uPrintable
1180x76vPrintable
1190x77wPrintable
1200x78xPrintable
1210x79yPrintable
1220x7AzPrintable
1230x7B{Printable
1240x7C|Printable
1250x7D}Printable
1260x7E~Printable

About UTF-16

US-ASCII (American Standard Code for Information Interchange) is a 7-bit character encoding standard that uses codes 0-127 to represent English characters and control codes.

  • 7-bit encoding (128 characters total)
  • Includes uppercase and lowercase English letters
  • Numbers 0-9 and common punctuation
  • Control characters (0-31 and 127)

UTF-16 is a variable-width character encoding capable of encoding all Unicode characters using one or two 16-bit code units.

  • Uses 2 or 4 bytes per character
  • Commonly used internally by Windows, Java, and JavaScript
  • Supports all Unicode characters
  • Less efficient than UTF-8 for Western text

🔄 Why Convert Between These Encodings?

📝 Format Examples

Example 1: ASCII Character 'A'

Decimal:

65

Hexadecimal & HTML:

0x41 | &#65; | &#x41;

Example 2: Euro Sign '€'

Decimal:

8364

Hexadecimal & HTML:

0x20AC | &#8364; | &euro;

Example 3: Copyright Symbol '©'

Decimal:

169

Hexadecimal & HTML:

0xA9 | &#169; | &copy;

Common Encoding Use Cases

  • Web Development: UTF-8 is the standard for HTML5, JSON, and RESTful APIs
  • Database Storage: UTF-8 (utf8mb4 in MySQL) for international text
  • File Processing: Know the source encoding before converting
  • Legacy Systems: Windows-1252 and ISO-8859-1 still common in older applications
  • Email: UTF-8 with proper MIME headers

💡 Best Practices

  • Always use UTF-8 for new projects and web applications
  • Declare charset explicitly in HTML meta tags
  • Convert legacy data to UTF-8 when possible
  • Test with international characters during development
  • Understand encoding when working with external data

Quick Links

Common encoding table comparisons: