६ is the Unicode character DEVANAGARI DIGIT SIX, code point U+096C (decimal 2412) in the Devanagari block, added in Unicode 1.1. In HTML write ६, and in UTF-8 it is the 3 bytes E0 A5 AC.
Codes
| Where | How to write it |
|---|---|
| Code point | U+096C |
| Decimal | 2412 |
| UTF-8 bytes | E0 A5 AC |
| UTF-16 (big-endian) | 096C |
| UTF-32 | 0000096C |
| HTML decimal | ६ |
| HTML hex | ६ |
| CSS | \96C |
| JavaScript | \u096C |
| JSON | \u096C |
| Python | \u096C |
| Python by name | \N{DEVANAGARI DIGIT SIX} |
| Java, C# | \u096C |
| Rust, Swift | \u{96C} |
| Go, C, C++ | \u096C |
| URL (percent-encoded) | %E0%A5%AC |
JavaScript and JSON strings store text as UTF-16, so this character is one code unit long. Python 3 strings count code points, so its length there is 1.
Properties
| Property | Value |
|---|---|
| Name | DEVANAGARI DIGIT SIX |
| Code point | U+096C (decimal 2412) |
| Block | Devanagari (U+0900–U+097F) |
| General category | Nd: Decimal digit |
| Script | Devanagari |
| Bidirectional class | L: Left-to-right |
| Numeric value | 6 |
| Mirrored in right-to-left text | No |
| First in Unicode version | 1.1 |
Nearby in Devanagari
- । U+0964 Devanagari Danda
- ॥ U+0965 Devanagari Double Danda
- ० U+0966 Devanagari Digit Zero
- १ U+0967 Devanagari Digit One
- २ U+0968 Devanagari Digit Two
- ३ U+0969 Devanagari Digit Three
- ४ U+096A Devanagari Digit Four
- ५ U+096B Devanagari Digit Five
- ७ U+096D Devanagari Digit Seven
- ८ U+096E Devanagari Digit Eight
- ९ U+096F Devanagari Digit Nine
- ॰ U+0970 Devanagari Abbreviation Sign
- ॱ U+0971 Devanagari Sign High Spacing Dot
- ॲ U+0972 Devanagari Letter Candra A
- ॳ U+0973 Devanagari Letter Oe
- ॴ U+0974 Devanagari Letter Ooe
All 128 characters: Devanagari.
Official reference
Questions people ask
- What is the HTML code for ६?
- Use ६ (decimal) or ६ (hex).
- What is the UTF-8 encoding of U+096C?
- E0 A5 AC (hex), 3 bytes. In a URL it is %E0%A5%AC.
- How do I write U+096C in JavaScript or Python?
- JavaScript: \u096C. Python: \u096C.
Source
Unicode Character Database 18.0.0 (Unicode License v3); HTML entity names from the WHATWG HTML Standard (CC BY 4.0). The encodings above are computed from the code point and checked against Python's encoders. How the character looks depends on your fonts.
Legal entity
Devansh Yadav
Moradabad, Uttar Pradesh
Governing law: Courts at Moradabad, Uttar Pradesh
Phone: +91 8433475698
Legal: legal@analyzeit.in