ग़ is the Unicode character DEVANAGARI LETTER GHHA, code point U+095A (decimal 2394) in the Devanagari block, added in Unicode 1.1. In HTML write ग़, and in UTF-8 it is the 3 bytes E0 A5 9A.
Codes
| Where | How to write it |
|---|---|
| Code point | U+095A |
| Decimal | 2394 |
| UTF-8 bytes | E0 A5 9A |
| UTF-16 (big-endian) | 095A |
| UTF-32 | 0000095A |
| HTML decimal | ग़ |
| HTML hex | ग़ |
| CSS | \95A |
| JavaScript | \u095A |
| JSON | \u095A |
| Python | \u095A |
| Python by name | \N{DEVANAGARI LETTER GHHA} |
| Java, C# | \u095A |
| Rust, Swift | \u{95A} |
| Go, C, C++ | \u095A |
| URL (percent-encoded) | %E0%A5%9A |
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 LETTER GHHA |
| Code point | U+095A (decimal 2394) |
| Block | Devanagari (U+0900–U+097F) |
| General category | Lo: Other letter |
| Script | Devanagari |
| Bidirectional class | L: Left-to-right |
| Mirrored in right-to-left text | No |
| First in Unicode version | 1.1 |
Decomposition
DEVANAGARI LETTER GHHA is canonically equivalent to the sequence below. Normalising text to NFD splits it into these parts; NFC joins them back into U+095A. Search and comparison should normalise first, or the two spellings will not match.
Nearby in Devanagari
- U+0952 Devanagari Stress Sign Anudatta
- U+0953 Devanagari Grave Accent
- U+0954 Devanagari Acute Accent
- U+0955 Devanagari Vowel Sign Candra Long E
- U+0956 Devanagari Vowel Sign Ue
- U+0957 Devanagari Vowel Sign Uue
- क़ U+0958 Devanagari Letter Qa
- ख़ U+0959 Devanagari Letter Khha
- ज़ U+095B Devanagari Letter Za
- ड़ U+095C Devanagari Letter Dddha
- ढ़ U+095D Devanagari Letter Rha
- फ़ U+095E Devanagari Letter Fa
- य़ U+095F Devanagari Letter Yya
- ॠ U+0960 Devanagari Letter Vocalic Rr
- ॡ U+0961 Devanagari Letter Vocalic Ll
- U+0962 Devanagari Vowel Sign Vocalic L
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+095A?
- E0 A5 9A (hex), 3 bytes. In a URL it is %E0%A5%9A.
- How do I write U+095A in JavaScript or Python?
- JavaScript: \u095A. Python: \u095A.
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