Escape Systems

238

less than a minute read

This post is more than 3 year(s) old.

Control

DESDECHEXC/C++C#JavaPythonJSON
Alert (Bell, Beep)77\a\a\a
Back Space88\b\b\b\b\b
New Page (Form Feed)12C\f\f\f\f\f
New Line (Line Feed)10A\n\n\n\n\n
Ignore New Line\<newline>
Carriage Return13D\r\r\r\r\r
Horizontal Tab99\t\t\t\t\t
Vertical Tab11B\v\v\v

Punctuations

DESDECHEXC/C++C#JavaPythonJSON
\4830\\\\\\\\\\
/925C\/
'3927\'\'\'\'
"3422\"\"\"\"\"
?633F\?

Numerical value for character Reference

DESC/C++/C#JavaPythonJSON
octal\ooo\ooo\ooo
hexadecimal\uhhhh
\Uhhhhhhhh
\xhh..
\uhhhh\uhhhh
\Uhhhhhhhh
\xhh
\N{name}
\uhhhh
Null(&#000;)\0\0

References

C, C++, Java, C#, Python, JSON.

-- Yu Long
Published on Aug 11, 2021, PDT
Updated on Aug 11, 2021, PDT