By Xah Lee. Date: . Last updated: .
| Character |
Escape sequence
|
| Alert |
\a
|
| Backspace |
\b
|
| Form feed |
\f
|
| Newline |
\n
|
| Carriage return |
\r
|
| Tab |
\t
|
| Vertical tab |
\v
|
| Backslash |
\\
|
| Quotation mark |
\"
|
| Apostrophe |
\'
|
| Unicode character |
\DDD (where D indicates a decimal digit; range of 000 - 255;)
|
| Unicode character |
\xHH (where H indicates a hexadecimal digit; range of 00 - FF;)
|
| Unicode character |
\uHHHH (UTF-16) (where H indicates a hexadecimal digit; range of 0000 - FFFF;)
|
| Unicode character |
\U00HHHHHH (UTF-32) (where H indicates a hexadecimal digit; range of 000000 - 10FFFF;)
|