Escape Characters Flashcards
\uxxxx
Character with 16-bit hex value xxxx (Unicode only)
\r
ASCII carriage return (CR)
Note: for (Newline or End of Line (EOL)):
Windows - \r \n (carriage return and line feed)
Unix Variants, including modern Macs - \n (line feed)
'
Single-quote (‘)
\
Backslash ()
"
Double-quote (“)
\xhh
Character with hex value hh
\b
ASCII backspace (BS)
\t
ASCII horizontal tab (TAB)
\Uxxxxxxxx
Character with 32-bit hex value xxxxxxxx (Unicode only)
\N{name}
Character named name in the Unicode database (Unicode only)
\a
ASCII bell (BELL)
\f
ASCII formfeed (FF)
Forces the printer to eject the current page and to continue printing at the top of another.
\ooo
Character with octal value oo
\n
ASCII linefeed (LF)
Note: for (Newline or End of Line (EOL)):
- Windows - \r \n (carriage return and line feed)
- Unix Variants, including modern Macs - \n (line feed)
\v
ASCII vertical tab (VT)