| Symbol Name | Farsi Symbol |
| Unicode Version | 1.1 |
| Unicode | U+262B |
| Unicode block | |
| General category | Other Symbol (So) |
| CSS Code | \262B |
| Hex Code | 0x262B |
| HTML Code | ☫ |
| LaTeX | \text{FARSISYMBOL} |
| Symbol | ☫ |
| URL encode (UTF-8 percent) | %E2%98%AB |
| Spoken / screen reader name | Farsi Symbol |
| UTF-8 | E2 98 AB |
| UTF-16 | 262B |
| UTF-32 | 0000262B |
1\documentclass{article}2\usepackage{pifont}3\text{FARSISYMBOL}4\end{document}You can type the farsi symbol on most modern devices with the help of following methods:
Alt + 9771 on Windows (numeric keypad with Num Lock), or insert via Character Map.
Edit → Emoji & Symbols, search "farsi symbol", or use Unicode Hex Input with 262B.
Ctrl + Shift + U, type 262b, then Enter (layout-dependent).
Paste from this page, use text replacement, or pick from the emoji keyboard.
Paste from this page or use a keyboard with religion symbol support.
1span.farsi-symbol::before { content: "\262B"; }1<span>☫</span>Farsi symbol's representation in different programming languages can be found in the table below:
| Language | Representation |
|---|---|
| JavaScript / TypeScript | '\u262B' or String.fromCodePoint(9771) |
| Python | '\N{FARSI SYMBOL}' or chr(9771) |
| Rust | '\u{262B}' |
| C / C++ | UTF-8 source or wchar_t with U+262B |
| Go | string(rune(0x262B)) |
| Ruby | "\u{262B}" |