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. Its script is Zyyy.
On this page
Encoding Table
| Format | Value | Copy |
|---|---|---|
| unicode | U+0031 | |
| decimal | 49 | |
| htmldecimal | 1 | |
| htmlhex | 1 | |
| css | \0031 | |
| javascript | \u{31} | |
| python | \u0031 | |
| java | \u0031 | |
| go | \u0031 | |
| ruby | \u{31} | |
| rust | \u{31} | |
| ccpp | \u0031 | |
| urlencoded | 1 | |
| utf8bytes | 31 | |
| utf16bebytes | 00 31 | |
| utf32bebytes | 00 00 00 31 |
How to Use
HTML:
1
CSS:
content: "\0031"
JavaScript:
"\u{31}"
Python:
"\u0031"
Properties
- Block
- Basic Latin
- Script
- Zyyy
- Category
- Decimal Number (Nd)
- Bidirectional
- EN
- Combining
- 0
- Mirrored
- No
Compare
Frequently Asked Questions
What is the 1 character (DIGIT ONE)?
1 (DIGIT ONE) is the Unicode character U+0031.
What is the Unicode codepoint of DIGIT ONE?
The DIGIT ONE character (1) has codepoint U+0031.
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.