copied = false, 2000)"
@keydown.enter="navigator.clipboard.writeText('٢'); copied = true; setTimeout(() => copied = false, 2000)"
:class="copied ? 'border-green-400 bg-green-50 dark:bg-green-950' : ''">
٢
Overview
٢ (ARABIC-INDIC DIGIT TWO) is the Unicode character at code point U+0662. It belongs to the Arabic block, in the Decimal Number (Nd) general category. Its script is Arabic.
On this page
Encoding Table
| Format | Value | Copy |
|---|---|---|
| Code point | U+0662 |
|
| Decimal | 1634 |
|
| HTML decimal | ٢ |
|
| HTML hex | ٢ |
|
| CSS | \0662 |
|
| JavaScript | \u{662} |
|
| Python | \u0662 |
|
| Java | \u0662 |
|
| Go | \u0662 |
|
| Ruby | \u{662} |
|
| Rust | \u{662} |
|
| C / C++ | \u0662 |
|
| URL-encoded | %D9%A2 |
|
| UTF-8 bytes | d9 a2 |
|
| UTF-16BE bytes | 06 62 |
|
| UTF-32BE bytes | 00 00 06 62 |
How to Use
HTML:
٢
CSS:
content: "\0662"
JavaScript:
"\u{662}"
Python:
"\u0662"
Properties
Frequently Asked Questions
What is the ٢ character (ARABIC-INDIC DIGIT TWO)?
٢ (ARABIC-INDIC DIGIT TWO) is the Unicode character U+0662.
What is the Unicode codepoint of ARABIC-INDIC DIGIT TWO?
The ARABIC-INDIC DIGIT TWO character (٢) has codepoint U+0662.
How do I type or copy ARABIC-INDIC DIGIT TWO?
Copy ٢ directly, or use the HTML entity, UTF-8, and code encodings shown on this page.