ぎ is the Unicode character HIRAGANA LETTER GI, code point U+304E (decimal 12366) in the Hiragana block, added in Unicode 1.1. In HTML write ぎ, and in UTF-8 it is the 3 bytes E3 81 8E.
Codes
| Where | How to write it |
|---|---|
| Code point | U+304E |
| Decimal | 12366 |
| UTF-8 bytes | E3 81 8E |
| UTF-16 (big-endian) | 304E |
| UTF-32 | 0000304E |
| HTML decimal | ぎ |
| HTML hex | ぎ |
| CSS | \304E |
| JavaScript | \u304E |
| JSON | \u304E |
| Python | \u304E |
| Python by name | \N{HIRAGANA LETTER GI} |
| Java, C# | \u304E |
| Rust, Swift | \u{304E} |
| Go, C, C++ | \u304E |
| URL (percent-encoded) | %E3%81%8E |
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 GI |
| Code point | U+304E (decimal 12366) |
| 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 |
Decomposition
HIRAGANA LETTER GI is canonically equivalent to the sequence below. Normalising text to NFD splits it into these parts; NFC joins them back into U+304E. Search and comparison should normalise first, or the two spellings will not match.
Nearby in Hiragana
- う U+3046 Hiragana Letter U
- ぇ U+3047 Hiragana Letter Small E
- え U+3048 Hiragana Letter E
- ぉ U+3049 Hiragana Letter Small O
- お U+304A Hiragana Letter O
- か U+304B Hiragana Letter Ka
- が U+304C Hiragana Letter Ga
- き U+304D Hiragana Letter Ki
- く U+304F Hiragana Letter Ku
- ぐ U+3050 Hiragana Letter Gu
- け U+3051 Hiragana Letter Ke
- げ U+3052 Hiragana Letter Ge
- こ U+3053 Hiragana Letter Ko
- ご U+3054 Hiragana Letter Go
- さ U+3055 Hiragana Letter Sa
- ざ U+3056 Hiragana Letter Za
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+304E?
- E3 81 8E (hex), 3 bytes. In a URL it is %E3%81%8E.
- How do I write U+304E in JavaScript or Python?
- JavaScript: \u304E. Python: \u304E.
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