Unicode characters
The standard way to identify Unicode in documentation is in the form U+code, for example: U+2192 for Rightward Arrow. The U+ prefix means that the code is a Unicode code point.
Different notations are used for inserting Unicode into different types of documents:
-
inserting Unicode as a string literal into code (Python, JavaScript, etc):
\u<code>, for example:\u2192 -
HTML:
&#x<code>, for example:→ -
CSS:
content: "\code", for examplecontent: "2192"
For HTML, also see notes / Typing HTML entities in markdown documents
Unicode codes #
Leftwards Arrow, Rightwards Arrow #
Leftwards Arrow: U+2190
Rightwards Arrow: U+2192
References #
compart.com. “Unicode.” Accessed on: January 28, 2026. https://www.compart.com/en/unicode/ .
Tags: