に is the Unicode character HIRAGANA LETTER NI, code point U+306B (decimal 12395) in the Hiragana block, added in Unicode 1.1. In HTML write に, and in UTF-8 it is the 3 bytes E3 81 AB.
Codes
| Where | How to write it |
|---|---|
| Code point | U+306B |
| Decimal | 12395 |
| UTF-8 bytes | E3 81 AB |
| UTF-16 (big-endian) | 306B |
| UTF-32 | 0000306B |
| HTML decimal | に |
| HTML hex | に |
| CSS | \306B |
| JavaScript | \u306B |
| JSON | \u306B |
| Python | \u306B |
| Python by name | \N{HIRAGANA LETTER NI} |
| Java, C# | \u306B |
| Rust, Swift | \u{306B} |
| Go, C, C++ | \u306B |
| URL (percent-encoded) | %E3%81%AB |
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 | HIRAGANA LETTER NI |
| Code point | U+306B (decimal 12395) |
| Block | Hiragana (U+3040–U+309F) |
| General category | Lo: Other letter |
| Script | Hiragana |
| Bidirectional class | L: Left-to-right |
| Mirrored in right-to-left text | No |
| First in Unicode version | 1.1 |
Nearby in Hiragana
- っ U+3063 Hiragana Letter Small Tu
- つ U+3064 Hiragana Letter Tu
- づ U+3065 Hiragana Letter Du
- て U+3066 Hiragana Letter Te
- で U+3067 Hiragana Letter De
- と U+3068 Hiragana Letter To
- ど U+3069 Hiragana Letter Do
- な U+306A Hiragana Letter Na
- ぬ U+306C Hiragana Letter Nu
- ね U+306D Hiragana Letter Ne
- の U+306E Hiragana Letter No
- は U+306F Hiragana Letter Ha
- ば U+3070 Hiragana Letter Ba
- ぱ U+3071 Hiragana Letter Pa
- ひ U+3072 Hiragana Letter Hi
- び U+3073 Hiragana Letter Bi
All 93 characters: Hiragana.
Official reference
Questions people ask
- What is the HTML code for に?
- Use に (decimal) or に (hex).
- What is the UTF-8 encoding of U+306B?
- E3 81 AB (hex), 3 bytes. In a URL it is %E3%81%AB.
- How do I write U+306B in JavaScript or Python?
- JavaScript: \u306B. Python: \u306B.
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