グ is the Unicode character KATAKANA LETTER GU, code point U+30B0 (decimal 12464) in the Katakana block, added in Unicode 1.1. In HTML write グ, and in UTF-8 it is the 3 bytes E3 82 B0.
Codes
| Where | How to write it |
|---|---|
| Code point | U+30B0 |
| Decimal | 12464 |
| UTF-8 bytes | E3 82 B0 |
| UTF-16 (big-endian) | 30B0 |
| UTF-32 | 000030B0 |
| HTML decimal | グ |
| HTML hex | グ |
| CSS | \30B0 |
| JavaScript | \u30B0 |
| JSON | \u30B0 |
| Python | \u30B0 |
| Python by name | \N{KATAKANA LETTER GU} |
| Java, C# | \u30B0 |
| Rust, Swift | \u{30B0} |
| Go, C, C++ | \u30B0 |
| URL (percent-encoded) | %E3%82%B0 |
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 | KATAKANA LETTER GU |
| Code point | U+30B0 (decimal 12464) |
| Block | Katakana (U+30A0–U+30FF) |
| General category | Lo: Other letter |
| Script | Katakana |
| Bidirectional class | L: Left-to-right |
| Mirrored in right-to-left text | No |
| First in Unicode version | 1.1 |
Decomposition
KATAKANA LETTER GU is canonically equivalent to the sequence below. Normalising text to NFD splits it into these parts; NFC joins them back into U+30B0. Search and comparison should normalise first, or the two spellings will not match.
Nearby in Katakana
- エ U+30A8 Katakana Letter E
- ォ U+30A9 Katakana Letter Small O
- オ U+30AA Katakana Letter O
- カ U+30AB Katakana Letter Ka
- ガ U+30AC Katakana Letter Ga
- キ U+30AD Katakana Letter Ki
- ギ U+30AE Katakana Letter Gi
- ク U+30AF Katakana Letter Ku
- ケ U+30B1 Katakana Letter Ke
- ゲ U+30B2 Katakana Letter Ge
- コ U+30B3 Katakana Letter Ko
- ゴ U+30B4 Katakana Letter Go
- サ U+30B5 Katakana Letter Sa
- ザ U+30B6 Katakana Letter Za
- シ U+30B7 Katakana Letter Si
- ジ U+30B8 Katakana Letter Zi
All 96 characters: Katakana.
Official reference
Questions people ask
- What is the HTML code for グ?
- Use グ (decimal) or グ (hex).
- What is the UTF-8 encoding of U+30B0?
- E3 82 B0 (hex), 3 bytes. In a URL it is %E3%82%B0.
- How do I write U+30B0 in JavaScript or Python?
- JavaScript: \u30B0. Python: \u30B0.
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