copied = false, 2000)"
@keydown.enter="navigator.clipboard.writeText('1'); copied = true; setTimeout(() => copied = false, 2000)"
:class="copied ? 'border-green-400 bg-green-50 dark:bg-green-950' : ''">
1
DIGIT ONE
Overview
1 (DIGIT ONE) is the Unicode character at code point U+0031. It belongs to the Basic Latin block, in the Decimal Number (Nd) general category.
On this page
Encoding Table
| Format | Value | Copy |
|---|---|---|
| Code point | U+0031 |
|
| Decimal | 49 |
|
| HTML decimal | 1 |
|
| HTML hex | 1 |
|
| CSS | \0031 |
|
| JavaScript | \u{31} |
|
| Python | \u0031 |
|
| Java | \u0031 |
|
| Go | \u0031 |
|
| Ruby | \u{31} |
|
| Rust | \u{31} |
|
| C / C++ | \u0031 |
|
| URL-encoded | 1 |
|
| UTF-8 bytes | 31 |
|
| UTF-16BE bytes | 00 31 |
|
| UTF-32BE bytes | 00 00 00 31 |
How to Use
HTML:
1
CSS:
content: "\0031"
JavaScript:
"\u{31}"
Python:
"\u0031"
Properties
- Block
- Basic Latin
- Script
- Common Zyyy
- Category
- Decimal Number (Nd)
- Bidirectional
- EN
- Combining
- 0
- Mirrored
- No
Compare
Frequently Asked Questions
How do I type or copy DIGIT ONE?
Copy 1 directly, or use the HTML entity, UTF-8, and code encodings shown on this page.