ˉ is the Unicode character MODIFIER LETTER MACRON, code point U+02C9 (decimal 713) in the Spacing Modifier Letters block, added in Unicode 1.1. In HTML write ˉ, and in UTF-8 it is the 2 bytes CB 89.
Codes
| Where | How to write it |
|---|---|
| Code point | U+02C9 |
| Decimal | 713 |
| UTF-8 bytes | CB 89 |
| UTF-16 (big-endian) | 02C9 |
| UTF-32 | 000002C9 |
| HTML decimal | ˉ |
| HTML hex | ˉ |
| CSS | \2C9 |
| JavaScript | \u02C9 |
| JSON | \u02C9 |
| Python | \u02C9 |
| Python by name | \N{MODIFIER LETTER MACRON} |
| Java, C# | \u02C9 |
| Rust, Swift | \u{2C9} |
| Go, C, C++ | \u02C9 |
| URL (percent-encoded) | %CB%89 |
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 | MODIFIER LETTER MACRON |
| Code point | U+02C9 (decimal 713) |
| Block | Spacing Modifier Letters (U+02B0–U+02FF) |
| General category | Lm: Modifier letter |
| Script | Common |
| Bidirectional class | ON: Other neutral |
| Mirrored in right-to-left text | No |
| First in Unicode version | 1.1 |
Nearby in Spacing Modifier Letters
- ˁ U+02C1 Modifier Letter Reversed Glottal Stop
- ˂ U+02C2 Modifier Letter Left Arrowhead
- ˃ U+02C3 Modifier Letter Right Arrowhead
- ˄ U+02C4 Modifier Letter Up Arrowhead
- ˅ U+02C5 Modifier Letter Down Arrowhead
- ˆ U+02C6 Modifier Letter Circumflex Accent
- ˇ U+02C7 Caron
- ˈ U+02C8 Modifier Letter Vertical Line
- ˊ U+02CA Modifier Letter Acute Accent
- ˋ U+02CB Modifier Letter Grave Accent
- ˌ U+02CC Modifier Letter Low Vertical Line
- ˍ U+02CD Modifier Letter Low Macron
- ˎ U+02CE Modifier Letter Low Grave Accent
- ˏ U+02CF Modifier Letter Low Acute Accent
- ː U+02D0 Modifier Letter Triangular Colon
- ˑ U+02D1 Modifier Letter Half Triangular Colon
All 80 characters: Spacing Modifier Letters.
Official reference
Questions people ask
- What is the HTML code for ˉ?
- Use ˉ (decimal) or ˉ (hex).
- What is the UTF-8 encoding of U+02C9?
- CB 89 (hex), 2 bytes. In a URL it is %CB%89.
- How do I write U+02C9 in JavaScript or Python?
- JavaScript: \u02C9. Python: \u02C9.
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