Back to ASCII Art Academy
This reference documentation was written and published by Carsten Cumbrowski aka Roy/SAC in March 2014.
Table of Contents
- ANSI Color Codes
- ANSI Escape Sequences (Brief)
- Set Display Attributes
- ANSI Escape Sequences Programming (Detailed)
- Cursor Commands
- Erase Commands
- Display Attribute and Mode Commands
- Keyboard Commands
- Notes
- Entering the {ESC} Character
- Enabling ANSI.SYS
- Using ANSI.SYS Escape Sequences
- ANSI.SYS Examples
- Batch File
- Command Prompt
- Text File Example
- ANSI.SYS Key and Extended Key Codes
- ANSI Colors mapped to HTML color codes etc.
- ASCII Standard Character Set
- ASCII Extended Character Sets
- Character Entities in HTML 4
- Latin-1 Characters
- Mathematical, Greek and Symbolic Characters
- Special Characters
ANSI Color Codes
Pueblo/UE supports a wide range of ANSI color codes. This is a list of those codes currently supported by Pueblo/UE, together with which client version they were introduced in. If the version is shown as "--", then it was introduced in version 2.01 or earlier (exact information is not available).
An ANSI code is sent by the world by sending an escape character (ESC, ASCII value 27) followed by the appropriate code sequence:
Code: |
Client: |
Meaning: |
[0m |
-- |
reset; clears all colors and styles (to white on black) |
[1m |
-- |
bold on (see below) |
[3m |
-- |
italics on |
[4m |
-- |
underline on |
[7m |
2.50 |
inverse on; reverses foreground & background colors |
[9m |
2.50 |
strikethrough on |
[22m |
2.50 |
bold off (see below) |
[23m |
2.50 |
italics off |
[24m |
2.50 |
underline off |
[27m |
2.50 |
inverse off |
[29m |
2.50 |
strikethrough off |
[30m |
-- |
set foreground color to black |
[31m |
-- |
set foreground color to red |
[32m |
-- |
set foreground color to green |
[33m |
-- |
set foreground color to yellow |
[34m |
-- |
set foreground color to blue |
[35m |
-- |
set foreground color to magenta (purple) |
[36m |
-- |
set foreground color to cyan |
[37m |
-- |
set foreground color to white |
[39m |
2.53 |
set foreground color to default (white) |
[40m |
-- |
set background color to black |
[41m |
-- |
set background color to red |
[42m |
-- |
set background color to green |
[43m |
-- |
set background color to yellow |
[44m |
-- |
set background color to blue |
[45m |
-- |
set background color to magenta (purple) |
[46m |
-- |
set background color to cyan |
[47m |
-- |
set background color to white |
[49m |
2.53 |
set background color to default (black) |
The bold codes have been given two different interpretations:
In client version 2.01 and earlier, bold was interpreted as the physical bold style - equivalent to the HTML <b> tag. In addition, the code [2m was mistakenly interpreted as bold off and the correct code was not handled.
In version 2.50 and later, bold is interpreted as 'high-intensity', which was the original ANSI definition. (High-intensity colors are brighter than low-intensity ones, which are the default.) If you want the bold font style, you will have to use the <b> tag instead. The incorrect [2m code for bold off is supported for backwards compatibility, along with the correct [22m code.
In addition, the ASCII BEL character (value 7) is internally translated to the HTML sequence <img xch_alert>. This will cause an audible alert sound, if configured to do so in the Preferences. While this is not actually an ANSI code sequence, worlds usually group this with them.
ANSI Escape Sequences (Brief)
Wherever you see '#', that should be replaced by the appropriate number.
ESC code sequence |
Function |
Cursor Controls: |
{ESC}[#;#H or {ESC}[#;#f | Moves cusor to line #, column # |
{ESC}[#A | Moves cursor up # lines |
{ESC}[#B | Moves cursor down # lines |
{ESC}[#C | Moves cursor forward # spaces |
{ESC}[#D | Moves cursor back # spaces |
{ESC}[#;#R | Reports current cursor line & column |
{ESC}[s | Saves cursor position for recall later |
{ESC}[u | Return to saved cursor position |
Erase Functions: |
{ESC}[0J or {ESC}[J | clear from cursor to end of screen |
{ESC}[1J | clear from cursor to beginning of the screen |
{ESC}[2J | Clear screen and home cursor (moves cursor to upper left) |
{ESC}[0K or {ESC}[K | Clear to end of line |
{ESC}[1K | clear from cursor to beginning of the line |
{ESC}[2K | clear entire line. Cursor position does not change |
Set Graphics Rendition: |
{ESC}[#;#;....;#m |
Set display attributes where # is
00 for normal display (or just 0)
01 for bold on (or just 1)
02 faint (or just 2)
03 standout (or just 3)
04 underline (or just 4)
05 blink on (or just 5)
07 reverse video on (or just 7)
08 nondisplayed (invisible) (or just 8)
22 normal
23 no-standout
24 no-underline
25 no-blink
27 no-reverse
30 black foreground
31 red foreground
32 green foreground
33 yellow foreground
34 blue foreground
35 magenta foreground
36 cyan foreground
37 white foreground
39 default foreground
40 black background
41 red background
42 green background
43 yellow background
44 blue background
45 magenta background
46 cyan background
47 white background
49 default background
|
{ESC}[=#;7h or
{ESC}[=h or
{ESC}[=0h or
{ESC}[?7h
|
Put screen in indicated mode where # is
0 for 40 x 25 black & white
1 for 40 x 25 color
2 for 80 x 25 b&w
3 for 80 x 25 color
4 for 320 x 200 color graphics
5 for 320 x 200 b & w graphics
6 for 640 x 200 b & w graphics
7 to wrap at end of line
|
{ESC}[=#;7l or
{ESC}[=l or
{ESC}[=0l or
{ESC}[?7l
|
Resets mode # set with above command |
Keyboard Reassignments: |
{ESC}[<row>A or
{ESC}[#;#;...p or
{ESC}["string"p or
{ESC}[#;"string";#;#;"string";#p
|
Keyboard reassignment. The first ASCII code defines which code is to be changed. The remaining codes define what it is to be changed to.
E.g. Reassign the Q and q keys to the A and a keys (and vice versa).
{ESC}[65;81p | A becomes Q |
{ESC}[97;113p | a becomes q |
{ESC}[81;65p | Q becomes A |
{ESC}[113;97p | q becomes a |
E.g. Reassign the F10 key to a DIR command.
{ESC}[0;68;"dir";13p |
The 0;68 is the extended ASCII code for the F10 key and 13 is the ASCII code for a carriage return.
Other function key codes:
F1=59,F2=60,F3=61,F4=62,F5=63,F6=64,F7=65,F8=66,F9=67,F10=68
|
|
Set Display Attributes
{ESC}[{attr1};...;{attrn}m |
Sets multiple display attribute settings. The following lists standard attributes:
General Atributes
Value | Description |
0 | Reset all attributes |
1 | Bright |
2 | Dim |
4 | Underscore |
5 | Blink |
7 | Reverse |
8 | Hidden |
|
|
Foreground Colours
Value | Description |
30 | Black |
31 | Red |
32 | Green |
33 | Yellow |
34 | Blue |
35 | Magenta |
36 | Cyan |
37 | White |
|
|
Background Colours
Value | Description |
40 | Black |
41 | Red |
42 | Green |
43 | Yellow |
44 | Blue |
45 | Magenta |
46 | Cyan |
47 | White |
|
|
ANSI Escape Sequences Programming (Detailed)
Cursor Commands
Cursor Up
{ESC}[<row>A |
Moves the cursor up the specified number of rows without changing the column. |
<row> is a number from 1 through 24 that specifies how many rows the cursor is to be moved up. If you omit <row>, DOS moves the cursor up one row. |
Examples
{ESC}[13A |
Move the cursor up 13 rows |
{ESC}[A |
Move the cursor up 1 row |
Cursor Down
{ESC}[<row>B |
Moves the cursor down the specified number of rows without changing the column. |
<row> is a number from 1 through 24 that specifies how many rows the cursor is to be moved down. If you omit <row>, DOS moves the cursor down one row. |
Examples
{ESC}[8B |
Move the cursor down eight rows. |
{ESC}[B |
Move the cursor down one row. |
Cursor Right
{ESC}[<col>C |
Moves the cursor right the specified number of columns without changing the row. |
<col> is a number from 1 through 79 that specifies how many columns that cursor is to be moved right. If you omit <col>, DOS moves the cursor right one column. |
Examples
{ESC}[40C |
Move the cursor right 40 columns. |
{ESC}[C |
Move the cursor right one column. |
Cursor Left
{ESC}[<col>D |
Moves the cursor left the specified number of columns without changing the row. |
<col> is a number from 1 through 79 that specifies how many columns the cursor is to be moved left. If you omit <col>, DOS moves the cursor left one column. |
Examples
{ESC}10[D |
Move the cursor left ten columns. |
{ESC}[D |
Move the cursor left one column. |
Move Cursor
{ESC}[<row>;<col>H or
{ESC}<row>;<col>f |
Moves the cursor to the specified row and column. |
<row> is a number from 1 through 25 that specifies the row to which the cursor is to be moved. If you omit <row>, DOS moves the cursor to row 1. To omit <row> but specify <col>, enter the semicolon to show the <row> is omitted.
<col> is a number from 1 through 80 that specifies the column to which the cursor is to be moved. If you omit <col>, DOS moves the cursor to column 1.
If you omit both <row> and <col>, DOS moves the cursor to the home position (row 1, column 1--the upper left corner of the screen). |
Examples
{ESC}[;10H |
Move the cursor to column 10, row 1. |
{ESC}[H |
Move the cursor to row 1, column 1. |
Save Cursor Position
{ESC}[s |
Stores the current row and column position of the cursor. |
You can move the cursor to this location with a Restore Cursor Position command. |
Examples
{ESC}[s |
Save the current cursor position. |
Report Cursor Position
{ESC}[6n |
Returns the current row and column position of the cursor in the form {ESC}[<row>;<col>R. |
<row> is a number from 1 through 25 that specifies the row where the cursor is located. <col> is a number from 1 through 80 that specifies the column where the cursor is located. |
Examples
{ESC}[6n |
Report the current cursor position. |
Restore Cursor Position
{ESC}[u |
Moves the cursor to the row and column position most recently saved with a Save Cursor Position command. |
Examples
{ESC}[u |
Move the cursor the row and column last saved with a Save Cursor Position command. |
Erase Commands
Erase Display
{ESC}[0J or {ESC}[J |
Clear from Current Cursor Position to End-of-Screen |
{ESC}[1J |
Clear from Current Cursor Position to Beginning of the Screen. |
{ESC}[2J |
Erases the entire display (equivalent to the DOS Clear Screen or cls command). |
Examples
{ESC}[2J |
Erase the screen. |
Erase Line
{ESC}[0K or {ESC}[K |
Erases from the current cursor position through the end of the line that contains the cursor. |
{ESC}[1K |
Clear from Current Cursor Position to Beginning of the Current Line. |
{ESC}[2K |
Clear Entire Current Line. Current Cursor Position remains unchanged. |
Examples
{ESC}[K |
Erase from the cursor to the end of the line. |
Display Attribute and Mode Commands
Set Attribute
{ESC}[<attr>m |
Turns on a characteristic or attribute of the display, such as high intensity, blink, or foreground and background color. |
<attr> specifies the display attribute to be turned on. More than one attribute can be specified by using a semicolon to separate the attribute numbers. <attr> can be any of the following:
Text Attribute |
Value |
None |
0 |
High Intensity (bold) |
1 |
Underline (monochrome display only) |
4 |
Blink |
5 |
Reverse |
7 |
Invisible |
8 |
|
|
Color Attr. |
Foregr.Val. |
Backgr.Val. |
Black |
30 |
40 |
Red |
31 |
41 |
Green |
32 |
42 |
Yellow |
33 |
43 |
Blue |
34 |
44 |
Magenta |
35 |
45 |
Cyan |
36 |
46 |
White |
37 |
47 |
|
If you omit <attr>, all attributes are turned off (equivalent to specifying <attr> as 0).
|
Examples
{ESC}[1m |
High intensity. |
{ESC}[1;5m |
High intensity and blink. |
{ESC}[30;46m |
Black foreground, cyan background. |
{ESC}[m |
Turn off all attributes. |
{ESC}[0m |
Turn off all attributes. |
{ESC}[0;1;36m |
Turn off all attributes, then turn on high-intensity cyan foreground. |
Set Display Mode
{ESC}[=<mode>h |
Sets the width and color capability of the display (generally equivalent to the DOS MODE command). This command can also be used to cause lines longer than 80 characters to be broken at the 80th character and continued on the next line, rather than truncated at the 80th column; this is called line wrap. It can be turned off with the Turn Off Line Wrap command. Note the equal sign (=) that precedes <mode>. |
<mode> specifies the display mode. It can be one of the following:
Display Mode | Value |
40 columns by 25 rows, black and white |
0 |
40 columns by 25 rows, color on |
1 |
80 columns by 25 rows, black and white |
2 |
80 columns by 25 rows, color on |
3 |
320 by 200 graphics, color on |
4 |
320 by 200 graphics, black and white |
5 |
640 by 200 graphics, black and white |
6 |
Turn on line wrap |
7 |
|
Examples
{ESC}[=1h |
Set the display to 40 by 25 color on. |
{ESC}[=7h |
Continued lines longer than 80 characters, don't truncate them. |
Turn Off Line Wrap
{ESC}[=7l | Causes lines longer than 80 characters to be truncated at the 80th character, rather than continued to the next line. |
Examples
{ESC}[=7l |
Truncate lines longer than 80 characters. |
Keyboard Commands
Define Key
{ESC}[<key code>;<result>p |
Assigns one or more characters to be produced when you press a key. |
<key code> specifies the key to be defined. If the key is one of the standard ASCII characters, <key code> is a number from 1 through 127. If the key is a function key, keypad key, or a combination of the <Shift>, <Ctrl>, or <Alt> key and another key, <key code> is two numbers separated by a semicolon and can be found in the ANSI.SYS key code table.
<result> is the character or characters to be produced when a key is pressed. It can be specified as an ASCII code, an ANSI.SYS key code, a string enclosed in quotation marks, or any combination of codes and strings separated by semicolons. To restore a key to its original meaning, enter a Define Key command that sets <result> equal to <key code>.
|
Examples
{ESC}[126;92p |
Redefine the tilde <~> key as a backslash <\>. |
{ESC}[126;126p |
Restore the tilde <~> key to its original meaning. |
{ESC}[0;112;"dir|sort";13p |
Redefine <Alt><F9> as a Directory command piped to a Sort command, followed by a Carriage Return. |
{ESC}[0;112;0;112p |
Restore <Alt><F9> to its original meaning. |
Notes
Entering the {ESC} Character
- In DOS: Press and hold the <Alt> key, then type 27 on the keypad.
- In Windows: Press and hold the <Alt> key, then type 0027 on the keypad.
- Exceptions: Sometimes the above keystrokes do not work. Try one of the following methods:
- In MS-DOS EDITOR and QBASIC, type any one of these:
- <Ctrl>P, <Alt>027
- <Ctrl>P, <Ctrl>[
- <Ctrl>P, <Esc>
- In Microsoft WORD, use a macro:
- Sub AsciiEscChar()
'Insert ASCII Esc character.
Selection.TypeText Chr(027)
End Sub
- Save the file as "Text Only" or "MS-DOS Text".
- In Microsoft NOTEPAD and WORDPAD:
- Copy the {ESC} character from another text file and paste it into the document.
Enabling ANSI.SYS
Before using escape seqences, ANSI.SYS must be named as a device driver in the CONFIG system file.
For Windows 95, Windows 98 and DOS:
- Create or edit the CONFIG.SYS file. (Found in the root directory.)
- Add the following line to the file:
DEVICE=<path>\ANSI.SYS
where <path> is the full path of the ANSI.SYS file. (Usually found in the WINDOWS directory.)
- Save CONFIG.SYS with the new line.
- Check that a copy of ANSI.SYS exists in the specified path location.
- Restart the computer to complete the change.
For Windows NT, Windows 2000 and Windows XP:
- Create or edit the CONFIG.NT file. (Usually found in the WINNT\SYSTEM32 directory.)
- Add the following line to the file:
DEVICE=%systemroot%\system32\ANSI.SYS
- Save CONFIG.NT with the new line.
- Check that a copy of ANSI.SYS exists in the specified path location.
- Restart the computer to complete the change.
Restrictions:
- Windows NT does not support ANSI.SYS escape sequences in Win32 Console applications.
- The Windows 2000/NT Command Interpreter, CMD.EXE, does not support ANSI.SYS. Use COMMAND.COM instead.
Using ANSI.SYS Escape Sequences
Because ANSI.SYS commands control the console device, they must be typed at the keyboard or sent to the display.
- Put the ANSI.SYS commands in a file and display the file with the TYPE or COPY command.
- Use the PROMPT command with the command prompt code, $e.
Example:
prompt $e[1;37;44m (Set the text color to bright white and the screen color to blue.)
- Use the ECHO command in a batch file.
Example:
echo {ESC}[8;26H (Move the cursor to row 8, column 26.)
To execute a batch file containing ANSI commands in Windows 2000/NT, use one of the following methods:
- Open a DOS command prompt window and type the <batch path>.
- Type %SystemRoot%\system32\COMMAND.COM /c <batch path> at the Run command line.
- Create a program information file (PIF) by making a shortcut of COMMAND.COM, then set the Cmd Line property to the <batch path> and the Advanced Program properties to %SystemRoot%\system32\AUTOEXEC.NT and %SystemRoot%\system32\CONFIG.NT.
- Use the WRITE, PRINT or a similiar command in FORTRAN, C, BASIC, etc.
Example:
WRITE(*,*)'{ESC}[2J' (Clear the screen.)
ANSI.SYS Examples
Batch File
SCREEN.BAT demonstrates some Display Attribute and Cursor commands.
- Download as a zipped file.
- Display as a text file.
- View a screen shot.
Command Prompt
Type the line below in a COMMAND.COM window to change the DOS command prompt.
- prompt=$_$d$_$t$h$h$h$_$e[1;37;43mMy Computer$e[44m $p$g
- View a screen shot.
Text File Example
@echo off
echo [0;1;37;40m[2J
echo SCREEN.BAT demostrates some of the Display Attribute commands
echo from ANSI Escape Sequences
echo.
echo Each row is numbered with a foreground color.
echo Each column is numbered with a background color.
rem 14 spaces between Normal and High Intensity in next line.
echo [8;26HNormal High Intensity
rem Five spaces between 7 and 0 in next line.
echo [9;26H0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7
for %%c in (0 1 2 3 4 5 6 7) do echo [1%%c;24H%%c
for %%c in (0 1 2 3 4 5 6 7) do echo [1%%c;26H[0;3%%c;40mXX[18C[1mXX
for %%c in (0 1 2 3 4 5 6 7) do echo [1%%c;28H[0;3%%c;41mXX[18C[1mXX
for %%c in (0 1 2 3 4 5 6 7) do echo [1%%c;30H[0;3%%c;42mXX[18C[1mXX
for %%c in (0 1 2 3 4 5 6 7) do echo [1%%c;32H[0;3%%c;43mXX[18C[1mXX
for %%c in (0 1 2 3 4 5 6 7) do echo [1%%c;34H[0;3%%c;44mXX[18C[1mXX
for %%c in (0 1 2 3 4 5 6 7) do echo [1%%c;36H[0;3%%c;45mXX[18C[1mXX
for %%c in (0 1 2 3 4 5 6 7) do echo [1%%c;38H[0;3%%c;46mXX[18C[1mXX
for %%c in (0 1 2 3 4 5 6 7) do echo [1%%c;40H[0;3%%c;47mXX[18C[1mXX
echo [0;1;37;40m
echo.
pause
echo [8;26HNormal Underline[K
for %%c in (0 1 2 3 4 5 6 7) do echo [1%%c;26H[0;3%%c;40mXX[18C[4mXX
for %%c in (0 1 2 3 4 5 6 7) do echo [1%%c;28H[0;3%%c;41mXX[18C[4mXX
for %%c in (0 1 2 3 4 5 6 7) do echo [1%%c;30H[0;3%%c;42mXX[18C[4mXX
for %%c in (0 1 2 3 4 5 6 7) do echo [1%%c;32H[0;3%%c;43mXX[18C[4mXX
for %%c in (0 1 2 3 4 5 6 7) do echo [1%%c;34H[0;3%%c;44mXX[18C[4mXX
for %%c in (0 1 2 3 4 5 6 7) do echo [1%%c;36H[0;3%%c;45mXX[18C[4mXX
for %%c in (0 1 2 3 4 5 6 7) do echo [1%%c;38H[0;3%%c;46mXX[18C[4mXX
for %%c in (0 1 2 3 4 5 6 7) do echo [1%%c;40H[0;3%%c;47mXX[18C[4mXX
echo [0;1;37;40m
echo.
pause
echo [8;26HNormal Blink[K
for %%c in (0 1 2 3 4 5 6 7) do echo [1%%c;26H[0;3%%c;40mXX[18C[5mXX
for %%c in (0 1 2 3 4 5 6 7) do echo [1%%c;28H[0;3%%c;41mXX[18C[5mXX
for %%c in (0 1 2 3 4 5 6 7) do echo [1%%c;30H[0;3%%c;42mXX[18C[5mXX
for %%c in (0 1 2 3 4 5 6 7) do echo [1%%c;32H[0;3%%c;43mXX[18C[5mXX
for %%c in (0 1 2 3 4 5 6 7) do echo [1%%c;34H[0;3%%c;44mXX[18C[5mXX
for %%c in (0 1 2 3 4 5 6 7) do echo [1%%c;36H[0;3%%c;45mXX[18C[5mXX
for %%c in (0 1 2 3 4 5 6 7) do echo [1%%c;38H[0;3%%c;46mXX[18C[5mXX
for %%c in (0 1 2 3 4 5 6 7) do echo [1%%c;40H[0;3%%c;47mXX[18C[5mXX
echo [0;1;37;40m
echo.
pause
echo [8;26HNormal Reverse[K
for %%c in (0 1 2 3 4 5 6 7) do echo [1%%c;26H[0;3%%c;40mXX[18C[7mXX
for %%c in (0 1 2 3 4 5 6 7) do echo [1%%c;28H[0;3%%c;41mXX[18C[7mXX
for %%c in (0 1 2 3 4 5 6 7) do echo [1%%c;30H[0;3%%c;42mXX[18C[7mXX
for %%c in (0 1 2 3 4 5 6 7) do echo [1%%c;32H[0;3%%c;43mXX[18C[7mXX
for %%c in (0 1 2 3 4 5 6 7) do echo [1%%c;34H[0;3%%c;44mXX[18C[7mXX
for %%c in (0 1 2 3 4 5 6 7) do echo [1%%c;36H[0;3%%c;45mXX[18C[7mXX
for %%c in (0 1 2 3 4 5 6 7) do echo [1%%c;38H[0;3%%c;46mXX[18C[7mXX
for %%c in (0 1 2 3 4 5 6 7) do echo [1%%c;40H[0;3%%c;47mXX[18C[7mXX
echo [0;1;37;40m
echo.
pause
echo [8;26HNormal Invisible[K
for %%c in (0 1 2 3 4 5 6 7) do echo [1%%c;26H[0;3%%c;40mXX[18C[8mXX
for %%c in (0 1 2 3 4 5 6 7) do echo [1%%c;28H[0;3%%c;41mXX[18C[8mXX
for %%c in (0 1 2 3 4 5 6 7) do echo [1%%c;30H[0;3%%c;42mXX[18C[8mXX
for %%c in (0 1 2 3 4 5 6 7) do echo [1%%c;32H[0;3%%c;43mXX[18C[8mXX
for %%c in (0 1 2 3 4 5 6 7) do echo [1%%c;34H[0;3%%c;44mXX[18C[8mXX
for %%c in (0 1 2 3 4 5 6 7) do echo [1%%c;36H[0;3%%c;45mXX[18C[8mXX
for %%c in (0 1 2 3 4 5 6 7) do echo [1%%c;38H[0;3%%c;46mXX[18C[8mXX
for %%c in (0 1 2 3 4 5 6 7) do echo [1%%c;40H[0;3%%c;47mXX[18C[8mXX
echo [0;1;37;40m
echo.
echo [K
ANSI.SYS Key and Extended Key Codes
Key | Code | Shift- | Ctrl- | Alt- |
Key | Code | Shift- | Ctrl- | Alt- |
a [A] | 97 | 65 | 1 | 0;30 |
F1 | 0;59 | 0;84 | 0;94 | 0;104 |
b [B] | 98 | 66 | 2 | 0;48 |
F2 | 0;60 | 0;85 | 0;95 | 0;105 |
c [C] | 99 | 67 | 3 | 0:46 |
F3 | 0;61 | 0;86 | 0;96 | 0;106 |
d [D] | 100 | 68 | 4 | 0;32 |
F4 | 0;62 | 0;87 | 0;97 | 0;107 |
e [E] | 101 | 69 | 5 | 0;18 |
F5 | 0;63 | 0;88 | 0;98 | 0;108 |
f [F] | 102 | 70 | 6 | 0;33 |
F6 | 0;64 | 0;89 | 0;99 | 0;109 |
g [G] | 103 | 71 | 7 | 0;34 |
F7 | 0;65 | 0;90 | 0;100 | 0;110 |
h [H] | 104 | 72 | 8 | 0;35 |
F8 | 0;66 | 0;91 | 0;101 | 0;111 |
i [I] | 105 | 73 | 9 | 0;23 |
F9 | 0;67 | 0;92 | 0;102 | 0;112 |
j [J] | 106 | 74 | 10 | 0;36 |
F10 | 0;68 | 0;93 | 0;103 | 0;113 |
k [K] | 107 | 75 | 11 | 0;37 |
F11 | 0;133 | 0;135 | 0;137 | 0;139 |
l [L] | 108 | 76 | 12 | 0;38 |
F12 | 0;134 | 0;136 | 0;138 | 0;140 |
m [M] | 109 | 77 | 13 | 0;50 |
Esc | 27 | | | 0;1 |
n [N] | 110 | 78 | 14 | 0;49 |
PrtScrn | | | 0;114 | |
o [O] | 111 | 79 | 15 | 0;24 |
Home | 0;71 | 55 | 0;119 | 0;151 |
p [P] | 112 | 80 | 16 | 0;25 |
Up Arrow | 0;72 | 56 | | 0;152 |
q [Q] | 113 | 81 | 17 | 0;16 |
PageUp | 0;73 | 57 | 0;132 | 0;153 |
r [R] | 114 | 82 | 18 | 0;19 |
Left Arrow | 0;75 | 52 | 0;115 | 0;155 |
s [S] | 115 | 83 | 19 | 0;31 |
Right Arrow | 0;77 | 54 | 0;116 | 0;157 |
t [T] | 116 | 84 | 20 | 0;20 |
End | 0;79 | 49 | 0;117 | 0;159 |
u [U] | 117 | 85 | 21 | 0;22 |
Down Arrow | 0;80 | 50 | | 0;160 |
v [V] | 118 | 86 | 22 | 0;47 |
PageDown | 0;81 | 51 | 0;118 | 0;161 |
w [W] | 119 | 87 | 23 | 0;17 |
Insert | 0;82 | 48 | | 0;162 |
x [X] | 120 | 88 | 24 | 0;45 |
Delete | 0;83 | 46 | | 0;163 |
y [Y] | 121 | 89 | 25 | 0;21 |
Home [7] | 0;71 | 55 | 0;119 | |
z [Z] | 122 | 90 | 26 | 0;44 |
Up Arrow [8] | 0;72 | 56 | 0;141 | |
1 [!] | 49 | 33 | | 0;120 |
PgUp [9] | 0;73 | 57 | 0;132 | |
2 [@] | 50 | 64 | | 0;121 |
Left Arrow [4] | 0;75 | 52 | 0;115 | |
3 [#] | 51 | 35 | | 0;122 |
Right Arrow [6] | 0;77 | 54 | 0;116 | |
4 [$] | 52 | 36 | | 0;123 |
End [1] | 0;79 | 49 | 0;117 | |
5 [%] | 53 | 37 | | 0;124 |
Down Arrow [2] | 0;80 | 50 | 0;145 | |
6 [^] | 54 | 94 | | 0;125 |
PgDn [3] | 0;81 | 51 | 0;118 | |
7 [&] | 55 | 38 | | 0;126 |
Ins [0] | 0;82 | 48 | 0;146 | |
8 [*] | 56 | 42 | | 0;127 |
Del [.] | 0;83 | 46 | 0;147 | |
9 [(] | 57 | 40 | | 0;128 |
[5] | 53 | 53 | 0;143 | |
0 [)] | 48 | 41 | | 0;129 |
* (keypad) | 42 | | 0;150 | 0;55 |
- [_] | 45 | 95 | | 0;130 |
+ (keypad) | 43 | | 0;144 | 0;78 |
= [+] | 61 | 43 | | 0;131 |
- (keypad) | 45 | | 0;142 | 0;74 |
Backspace | 127 | | | 0;14 |
/ (keypad) | 47 | | 0;149 | 0;164 |
Enter | 13 | | | 0;28 |
Enter (keypad) | 13 | | 0;166 | 0;166 |
Tab | 9 | 0;15 | 0;148 | 0;165 |
Null | 0;3 | | | |
Notes
[1] Standard Codes are single-byte numbers.
[2] Extended Codes are two-byte numbers. Extended codes always begin with zero.
ANSI Colors mapped to HTML color codes etc.
Fore Ground Colors |
Background Colors |
Color Name |
HTML |
Bold Attribute |
Color Attribute |
Bold Attribute |
Color Attribute |
0 |
30 |
0 |
40 |
Black |
#000000 |
|
0 |
31 |
0 |
41 |
Dark Red |
#AA0000 |
|
0 |
32 |
0 |
42 |
Dark Green |
#00AA00 |
|
0 |
33 |
0 |
43 |
Brown |
#AA5500 |
|
0 |
34 |
0 |
44 |
Dark Blue |
#0000AA |
|
0 |
35 |
0 |
45 |
Dark Magenta |
#AA00AA |
|
0 |
36 |
0 |
46 |
Dark Cyan |
#00AAAA |
|
0 |
37 |
0 |
47 |
Gray |
#AAAAAA |
|
1 |
30 |
- |
- |
Dark Gray |
#555555 |
|
1 |
31 |
- |
- |
Red |
#FF5555 |
|
1 |
32 |
- |
- |
Green |
#55FF55 |
|
1 |
33 |
- |
- |
Yellow |
#FFFF55 |
|
1 |
34 |
- |
- |
Blue |
#5555FF |
|
1 |
35 |
- |
- |
Magenta |
#FF55FF |
|
1 |
36 |
- |
- |
Cyan |
#55FFFF |
|
1 |
37 |
- |
- |
White |
#FFFFFF |
|
Here is the same mapping, but grouped differently as it is used in ANSI Editors such as TheDraw, AcidDraw or PabloDraw.
# |
Color Name |
HTML Hex |
R,G,B |
ESC |
# |
Color Name |
HTML Hex |
R,G,B |
ESC |
00 |
Black |
#000000 |
0, 0, 0 |
[0;30m |
01 |
Dark Blue |
#0000AA |
0, 0, 170 |
[0;34m |
02 |
Dark Green |
#00AA00 |
0, 170, 0 |
[0;32m |
03 |
Dark Cyan |
#00AAAA |
0, 170, 170 |
[0;36m |
04 |
Dark Red |
#AA0000 |
170, 0, 0 |
[0;31m |
05 |
Purple/Dark Magenta |
#AA00AA |
170, 0, 170 |
[0;35m |
06 |
Brown |
#AA5500 |
170, 85, 0 |
[0;33m |
07 |
Gray |
#AAAAAA |
170, 170, 170 |
[0;37m |
08 |
Dark Gray |
#555555 |
85, 85, 85 |
[1;30m |
09 |
Blue |
#5555FF |
85, 85, 255 |
[1;34m |
10 |
Green |
#55FF55 |
85, 255, 85 |
[1;32m |
11 |
Cyan |
#55FFFF |
85, 255, 255 |
[1;36m |
12 |
Red |
#FF5555 |
255, 85, 85 |
[1;31m |
13 |
Light Purple/Magenta |
#FF55FF |
255, 85, 255 |
[1;35m |
14 |
Yellow |
#FFFF55 |
255, 255, 85 |
[1;33m |
15 |
White |
#FFFFFF |
255, 255, 255 |
[1;37m |
Note: The for the ESC sequence must be replaced with the ASCII character for "Escape" (Chr(27)).
ASCII Standard Character Set
Char | Ctrl | Dec | Hex |
Char | Dec | Hex |
Char | Dec | Hex |
Char | Dec | Hex |
NUL | ^@ | 0 | 00 |
<space> | 32 | 20 |
@ | 64 | 40 |
` | 96 | 60 |
SOH | ^A | 1 | 01 |
! | 33 | 21 |
A | 65 | 41 |
a | 97 | 61 |
STX | ^B | 2 | 02 |
" | 34 | 22 |
B | 66 | 42 |
b | 98 | 62 |
ETX | ^C | 3 | 03 |
# | 35 | 23 |
C | 67 | 43 |
c | 99 | 63 |
EOT | ^D | 4 | 04 |
$ | 36 | 24 |
D | 68 | 44 |
d | 100 | 64 |
ENQ | ^E | 5 | 05 |
% | 37 | 25 |
E | 69 | 45 |
e | 101 | 65 |
ACK | ^F | 6 | 06 |
& | 38 | 26 |
F | 70 | 46 |
f | 102 | 66 |
BEL | ^G | 7 | 07 |
' | 39 | 27 |
G | 71 | 47 |
g | 103 | 67 |
BS | ^H | 8 | 08 |
( | 40 | 28 |
H | 72 | 48 |
h | 104 | 68 |
HT | ^I | 9 | 09 |
) | 41 | 29 |
I | 73 | 49 |
i | 105 | 69 |
LF | ^J | 10 | 0A |
* | 42 | 2A |
J | 74 | 4A |
j | 106 | 6A |
VT | ^K | 11 | 0B |
+ | 43 | 2B |
K | 75 | 4B |
k | 107 | 6B |
FF | ^L | 12 | 0C |
, | 44 | 2C |
L | 76 | 4C |
l | 108 | 6C |
CR | ^M | 13 | 0D |
- | 45 | 2D |
M | 77 | 4D |
m | 109 | 6D |
SO | ^N | 14 | 0E |
. | 46 | 2E |
N | 78 | 4E |
n | 110 | 6E |
SI | ^O | 15 | 0F |
/ | 47 | 2F |
O | 79 | 4F |
o | 111 | 6F |
DLE | ^P | 16 | 10 |
0 | 48 | 30 |
P | 80 | 50 |
p | 112 | 70 |
DC1 | ^Q | 17 | 11 |
1 | 49 | 31 |
Q | 81 | 51 |
q | 113 | 71 |
DC2 | ^R | 18 | 12 |
2 | 50 | 32 |
R | 82 | 52 |
r | 114 | 72 |
DC3 | ^S | 19 | 13 |
3 | 51 | 33 |
S | 83 | 53 |
s | 115 | 73 |
DC4 | ^T | 20 | 14 |
4 | 52 | 34 |
T | 84 | 54 |
t | 116 | 74 |
NAK | ^U | 21 | 15 |
5 | 53 | 35 |
U | 85 | 55 |
u | 117 | 75 |
SYN | ^V | 22 | 16 |
6 | 54 | 36 |
V | 86 | 56 |
v | 118 | 76 |
ETB | ^W | 23 | 17 |
7 | 55 | 37 |
W | 87 | 57 |
w | 119 | 77 |
CAN | ^X | 24 | 18 |
8 | 56 | 38 |
X | 88 | 58 |
x | 120 | 78 |
EM | ^Y | 25 | 19 |
9 | 57 | 39 |
Y | 89 | 59 |
y | 121 | 79 |
SUB | ^Z | 26 | 1A |
: | 58 | 3A |
Z | 90 | 5A |
z | 122 | 7A |
ESC | ^[ | 27 | 1B |
; | 59 | 3B |
[ | 91 | 5B |
{ | 123 | 7B |
FS | ^\ | 28 | 1C |
< | 60 | 3C |
\ | 92 | 5C |
| | 124 | 7C |
GS | ^] | 29 | 1D |
= | 61 | 3D |
] | 93 | 5D |
} | 125 | 7D |
RS | ^^ | 30 | 1E |
> | 62 | 3E |
^ | 94 | 5E |
~ | 126 | 7E |
US | ^_ | 31 | 1F |
? | 63 | 3F |
_ | 95 | 5F |
<delete> | 127 | 7F |
Notes
ASCII (American Standard Code for Information Interchange)
is a 7-bit character code that was introduced by American National Standards Institute (ANSI) and is used by most U.S. personal and workstation computers.
ASCII Extended Character Sets
ASCII Extended Character Sets, PC
Typing an ASCII character
In DOS:
Hold down the <Alt> key while typing the decimal number on the keyboard keypad. (Example: <Alt>178)
In Windows for a DOS character:
Hold down <Alt> while typing the decimal on the keyboard keypad. (Example: <Alt>230)
In Windows for a WIN character:
Hold down <Alt> while typing "0" then the decimal number on the keyboard keypad. (Example: <Alt>0140)
ASCII Extended Character Set, Macintosh
Typing an ASCII character
Keystroke Abbreviations:
<op> Option key
<sh> Shift key
<sp> Space bar
Keystroke Examples:
<op><sh>a Hold down the Option, Shift and "a" keys simultaneously, then release the keys.
<op>c Hold down the Option and "c" keys simultaneously, then release.
<op>e E Hold down the Option and "e" keys simultaneously, release, then type a capital "
Character Entities in HTML 4
Latin-1 , Mathematical, Greek and Symbolic , Special
Latin-1 Characters
Code | Entity | Character | Description |
  | | | non-breaking space |
¡ | ¡ | ¡ | inverted exclamation mark |
¢ | ¢ | ¢ | cent sign |
£ | £ | £ | pound sterling sign |
¤ | ¤ | ¤ | general currency sign |
¥ | ¥ | ¥ | yen sign |
¦ | ¦ | ¦ | broken (vertical) bar |
§ | § | § | section sign |
¨ | ¨ | ¨ | umlaut (dieresis) |
© | © | © | copyright sign |
ª | ª | ª | ordinal indicator, feminine |
« | « | « | angle quotation mark, left |
¬ | ¬ | ¬ | not sign |
­ | ­ | | soft hyphen |
® | ® | ® | registered sign |
¯ | ¯ | ¯ | macron |
° | ° | ° | degree sign |
± | ± | ± | plus-or-minus sign |
² | ² | ² | superscript two |
³ | ³ | ³ | superscript three |
´ | ´ | ´ | acute accent |
µ | µ | µ | micro sign |
¶ | ¶ | ¶ | pilcrow (paragraph sign) |
· | · | · | middle dot |
¸ | ¸ | ¸ | cedilla |
¹ | ¹ | ¹ | superscript one |
º | º | º | ordinal indicator, masculine |
» | » | » | angle quotation mark, right |
¼ | ¼ | ¼ | fraction one-quarter |
½ | ½ | ½ | fraction one-half |
¾ | ¾ | ¾ | fraction three-quarters |
¿ | ¿ | ¿ | inverted question mark |
À | À | À | capital A, grave accent |
Á | Á | Á | capital A, acute accent |
 |  |  | capital A, circumflex accent |
à | à | à | capital A, tilde |
Ä | Ä | Ä | capital A, dieresis or umlaut mark |
Å | Å | Å | capital A, ring |
Æ | Æ | Æ | capital AE diphthong (ligature) |
Ç | Ç | Ç | capital C, cedilla |
È | È | È | capital E, grave accent |
É | É | É | capital E, acute accent |
Ê | Ê | Ê | capital E, circumflex accent |
Ë | Ë | Ë | capital E, dieresis or umlaut mark |
Ì | Ì | Ì | capital I, grave accent |
Í | Í | Í | capital I, acute accent |
Î | Î | Î | capital I, circumflex accent |
Ï | Ï | Ï | capital I, dieresis or umlaut mark |
Ð | Ð | Ð | capital Eth, Icelandic |
Ñ | Ñ | Ñ | capital N, tilde |
Ò | Ò | Ò | capital O, grave accent |
Ó | Ó | Ó | capital O, acute accent |
Ô | Ô | Ô | capital O, circumflex accent |
Õ | Õ | Õ | capital O, tilde |
Ö | Ö | Ö | capital O, dieresis or umlaut mark |
× | × | × | multiply sign |
Ø | Ø | Ø | capital O, slash |
Ù | Ù | Ù | capital U, grave accent |
Ú | Ú | Ú | capital U, acute accent |
Û | Û | Û | capital U, circumflex accent |
Ü | Ü | Ü | capital U, dieresis or umlaut mark |
Ý | Ý | Ý | capital Y, acute accent |
Þ | Þ | Þ | capital THORN, Icelandic |
ß | ß | ß | small sharp s, German (sz ligature) |
à | à | à | small a, grave accent |
á | á | á | small a, acute accent |
â | â | â | small a, circumflex accent |
ã | ã | ã | small a, tilde |
ä | ä | ä | small a, dieresis or umlaut mark |
å | å | å | small a, ring |
æ | æ | æ | small ae diphthong (ligature) |
ç | ç | ç | small c, cedilla |
è | è | è | small e, grave accent |
é | é | é | small e, acute accent |
ê | ê | ê | small e, circumflex accent |
ë | ë | ë | small e, dieresis or umlaut mark |
ì | ì | ì | small i, grave accent |
í | í | í | small i, acute accent |
î | î | î | small i, circumflex accent |
ï | ï | ï | small i, dieresis or umlaut mark |
ð | ð | ð | small eth, Icelandic |
ñ | ñ | ñ | small n, tilde |
ò | ò | ò | small o, grave accent |
ó | ó | ó | small o, acute accent |
ô | ô | ô | small o, circumflex accent |
õ | õ | õ | small o, tilde |
ö | ö | ö | small o, dieresis or umlaut mark |
÷ | ÷ | ÷ | divide sign |
ø | ø | ø | small o, slash |
ù | ù | ù | small u, grave accent |
ú | ú | ú | small u, acute accent |
û | û | û | small u, circumflex accent |
ü | ü | ü | small u, dieresis or umlaut mark |
ý | ý | ý | small y, acute accent |
þ | þ | þ | small thorn, Icelandic |
ÿ | ÿ | ÿ | small y, dieresis or umlaut mark |
Mathematical, Greek and Symbolic Characters
Code | Entity | Character | Description |
Latin Extended-B |
ƒ | ƒ | ƒ | latin small f with hook (function or florin) |
Greek |
Α | Α | Α | greek capital letter alpha |
Β | Β | Β | greek capital letter beta |
Γ | Γ | Γ | greek capital letter gamma |
Δ | Δ | Δ | greek capital letter delta |
Ε | Ε | Ε | greek capital letter epsilon |
Ζ | Ζ | Ζ | greek capital letter zeta |
Η | Η | Η | greek capital letter eta |
Θ | Θ | Θ | greek capital letter theta |
Ι | Ι | Ι | greek capital letter iota |
Κ | Κ | Κ | greek capital letter kappa |
Λ | Λ | Λ | greek capital letter lambda |
Μ | Μ | Μ | greek capital letter mu |
Ν | Ν | Ν | greek capital letter nu |
Ξ | Ξ | Ξ | greek capital letter xi |
Ο | Ο | Ο | greek capital letter omicron |
Π | Π | Π | greek capital letter pi |
Ρ | Ρ | &RHo; | greek capital letter rho |
Σ | Σ | Σ | greek capital letter sigma |
Τ | Τ | Τ | greek capital letter tau |
Υ | Υ | Υ | greek capital letter upsilon |
Φ | Φ | Φ | greek capital letter phi |
Χ | Χ | Χ | greek capital letter chi |
Ψ | Ψ | Ψ | greek capital letter psi |
Ω | Ω | Ω | greek capital letter omega |
α | α | α | greek small letter alpha |
β | β | β | greek small letter beta |
γ | γ | γ | greek small letter gamma |
δ | δ | δ | greek small letter delta |
ε | ε | ε | greek small letter epsilon |
ζ | ζ | ζ | greek small letter zeta |
η | η | η | greek small letter eta |
θ | θ | θ | greek small letter theta |
ι | ι | ι | greek small letter iota |
κ | κ | κ | greek small letter kappa |
λ | λ | λ | greek small letter lambda |
μ | μ | μ | greek small letter mu |
ν | ν | ν | greek small letter nu |
ξ | ξ | ξ | greek small letter xi |
ο | ο | ο | greek small letter omicron |
π | π | π | greek small letter pi |
ρ | ρ | ρ | greek small letter rho |
ς | ς | ς | greek small letter final sigma |
σ | σ | σ | greek small letter sigma |
τ | τ | τ | greek small letter tau |
υ | υ | υ | greek small letter upsilon |
φ | φ | φ | greek small letter phi |
χ | χ | χ | greek small letter chi |
ψ | ψ | ψ | greek small letter psi |
ω | ω | ω | greek small letter omega |
ϑ | ϑ | ϑ | greek small letter theta symbol |
ϒ | ϒ | ϒ | greek upsilon with hook symbol |
ϖ | ϖ | ϖ | greek pi symbol |
General Punctuation |
• | • | • | bullet (black small circle) |
… | … | … | horizontal ellipsis (three dot leader) |
′ | ′ | ′ | prime (minutes or feet) |
″ | ″ | ″ | double prime (seconds or inches) |
‾ | ‾ | ‾ | overline (spacing overscore) |
⁄ | ⁄ | ?⁄ | fraction slash |
Letterlike Symbols |
℘ | ℘ | ℘ | script capital P (power set or Weierstrass p) |
ℑ | ℑ | ℑ | blackletter capital I (imaginary part) |
ℜ | ℜ | ℜ | blackletter capital R (real part symbol) |
™ | ™ | ™ | trade mark sign |
ℵ | ℵ | ℵ | alef symbol (first transfinite cardinal, NOT the same as hebrew letter alef) |
Arrows |
← | ← | ← | leftwards arrow |
↑ | ↑ | ↑ | upwards arrow |
→ | → | → | rightwards arrow |
↓ | ↓ | ↓ | downwards arrow |
↔ | ↔ | ↔ | left right arrow |
↵ | ↵ | ↵ | downwards arrow with corner leftwards (carriage return) |
⇐ | ⇐ | ⇐ | leftwards double arrow |
⇑ | ⇑ | ⇑ | upwards double arrow |
⇒ | ⇒ | ⇒ | rightwards double arrow |
⇓ | ⇓ | ⇓ | downwards double arrow |
⇔ | ⇔ | ⇔ | left right double arrow |
Mathmatical Operators |
∀ | ∀ | ∀ | for all |
∂ | ∂ | ∂ | partial differential |
∃ | ∃ | ∃ | there exists |
∅ | ∅ | ∅ | empty set (null set or diameter) |
∇ | ∇ | ∇ | nabla (backward difference) |
∈ | ∈ | ∈ | element of |
∉ | ∉ | ∉ | not an element of |
∋ | ∋ | ∋ | contains as member |
∏ | ∏ | ∏ | n-ary product (product sign) |
∑ | ∑ | ∑ | n-ary sumation |
− | − | − | minus sign |
∗ | ∗ | ∗ | asterisk operator |
√ | √ | √ | square root (radical sign) |
∝ | ∝ | ∝ | proportional to |
∞ | ∞ | ∞ | infinity |
∠ | ∠ | ∠ | angle |
∧ | ∧ | ∧ | logical and (wedge) |
∨ | ∨ | ∨ | logical or (vee) |
∩ | ∩ | ∩ | intersection (cap) |
∪ | ∪ | ∪ | union (cup) |
∫ | ∫ | ∫ | integral |
∴ | ∴ | ∴ | therefore |
∼ | ∼ | ∼ | tilde operator (varies with, NOT the same as tilde) |
≅ | ≅ | ≅ | approximately equal to |
≈ | ≈ | ≈ | almost equal to (asymptotic to) |
≠ | ≠ | ≠ | not equal to |
≡ | ≡ | ≡ | identical to |
≤ | ≤ | ≤ | less-than or equal to |
≥ | ≥ | ≥ | greater-than or equal to |
⊂ | ⊂ | ⊂ | subset of |
⊃ | ⊃ | ⊃ | superset of |
⊄ | ⊄ | ⊄ | not a subset of |
⊆ | ⊆ | ⊆ | subset of or equal to |
⊇ | ⊇ | ⊇ | superset of or equal to |
⊕ | ⊕ | ⊕ | circled plus (direct sum) |
⊗ | ⊗ | ⊗ | circled times (vector product) |
⊥ | ⊥ | ⊥ | up tack (orthogonal to or perpendicular) |
⋅ | ⋅ | ⋅ | dot operator |
Miscellaneous Technical |
⌈ | ⌈ | ⌈ | left ceiling (apl upstile) |
⌉ | ⌉ | ⌉ | right ceiling |
⌊ | ⌊ | ⌊ | left floor (apl downstile) |
⌋ | ⌋ | ⌋ | right floor |
〈 | ⟨ | 〈 | left-pointing angle bracket (bra) |
〉 | ⟩ | 〉 | right-pointing angle bracket (ket) |
Geometric Shapes |
◊ | ◊ | ◊ | lozenge |
Miscellaneous Symbols |
♠ | ♠ | ♠ | black spade suit |
♣ | ♣ | ♣ | black club suit (shamrock) |
♥ | ♥ | ♥ | black heart suit (valentine) |
♦ | ♦ | ♦ | black diamond suit |
Special Characters
Code | Entity | Character | Description |
C0 Controls and Basic Latin |
" | " | " | quotation mark |
& | & | & | ampersand |
< | < | < | less-than sign |
> | > | > | greater-than sign |
Latin Extended-A |
Œ | Œ | Œ | latin capital ligature OE |
œ | œ | œ | latin small ligature oe |
Š | Š | Š | latin capital letter S with caron |
š | š | š | latin small letter s with caron |
Ÿ | Ÿ | Ÿ | latin capital letter Y with diaeresis |
Spacing Modifier Letters |
ˆ | ˆ | ˆ | modifier letter circumflex accent |
˜ | ˜ | ˜ | small tilde |
General Punctuation |
  |   | | en space |
  |   | | em space |
  |   | | thin space |
‌ | ‌ | ? | zero width non-joiner |
‍ | ‍ | ? | zero width joiner |
‎ | ‎ | ? | left-to-right mark |
‏ | ‏ | ? | right-to-left mark |
– | – | – | en dash |
— | — | — | em dash |
‘ | ‘ | ‘ | left single quotation mark |
’ | ’ | ’ | right single quotation mark |
‚ | ‚ | ‚ | single low-9 quotation mark |
“ | “ | “ | left double quotation mark |
” | ” | ” | right double quotation mark |
„ | „ | „ | double low-9 quotation mark |
† | † | † | dagger |
‡ | ‡ | ‡ | double dagger |
‰ | ‰ | ‰ | per mille sign |
‹ | ‹ | ‹ | single left-pointing angle quotation mark |
› | › | › | single right-pointing angle quotation mark |
€ | € | € | euro sign |
Notes
In order to view the following character entities, your browser must support the respective character set:
Latin-1 Characters: ISO 8859-1 (Supported by HTML 2.0 and later)
Mathematical, Greek and Symbolic Characters: ISO 10646
Special Characters: ISO 10646
Back to ASCII Art Academy
- ASCII Art Academy - articles and tutorials about ASCII art
- Online Videos releated to text art, BBS, demoscene, SAC and Warez
- ASCII Nudes Collection - 30 Years of "Naked" ASCII Art - 30 pieces of ASCII art showing nude girls created by hand by various different artists. A "boss key" feature is available too, which is interesting by itself, showing additional examples of great ASCII art without nudity.
- "Morph" - ASCII Animation (ASCIIMation) using JavaScript created by Skylined. It "morphs" a number of ASCII pictures from one into another and finishes with a great "mandelbrot" fractal zoom.
- "Star Field" - Another nice ASCII Animation using JavaScript created by Skylined showing a horizontal semi 3d star field animation like the ones that were popular in old computer demos and intros.
|