ū is the Unicode character LATIN SMALL LETTER U WITH MACRON, code point U+016B (decimal 363) in the Latin Extended-A block, added in Unicode 1.1. In HTML write ū, and in UTF-8 it is the 2 bytes C5 AB.
Codes
| Where | How to write it |
|---|---|
| Code point | U+016B |
| Decimal | 363 |
| UTF-8 bytes | C5 AB |
| UTF-16 (big-endian) | 016B |
| UTF-32 | 0000016B |
| HTML decimal | ū |
| HTML hex | ū |
| HTML named | ū |
| CSS | \16B |
| JavaScript | \u016B |
| JSON | \u016B |
| Python | \u016B |
| Python by name | \N{LATIN SMALL LETTER U WITH MACRON} |
| Java, C# | \u016B |
| Rust, Swift | \u{16B} |
| Go, C, C++ | \u016B |
| URL (percent-encoded) | %C5%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 | LATIN SMALL LETTER U WITH MACRON |
| Code point | U+016B (decimal 363) |
| Block | Latin Extended-A (U+0100–U+017F) |
| General category | Ll: Lowercase letter |
| Script | Latin |
| Bidirectional class | L: Left-to-right |
| Mirrored in right-to-left text | No |
| First in Unicode version | 1.1 |
Decomposition
LATIN SMALL LETTER U WITH MACRON is canonically equivalent to the sequence below. Normalising text to NFD splits it into these parts; NFC joins them back into U+016B. Search and comparison should normalise first, or the two spellings will not match.
Upper and lower case
- Ū U+016A Latin Capital Letter U With Macron — Uppercase
Nearby in Latin Extended-A
- ţ U+0163 Latin Small Letter T With Cedilla
- Ť U+0164 Latin Capital Letter T With Caron
- ť U+0165 Latin Small Letter T With Caron
- Ŧ U+0166 Latin Capital Letter T With Stroke
- ŧ U+0167 Latin Small Letter T With Stroke
- Ũ U+0168 Latin Capital Letter U With Tilde
- ũ U+0169 Latin Small Letter U With Tilde
- Ū U+016A Latin Capital Letter U With Macron
- Ŭ U+016C Latin Capital Letter U With Breve
- ŭ U+016D Latin Small Letter U With Breve
- Ů U+016E Latin Capital Letter U With Ring Above
- ů U+016F Latin Small Letter U With Ring Above
- Ű U+0170 Latin Capital Letter U With Double Acute
- ű U+0171 Latin Small Letter U With Double Acute
- Ų U+0172 Latin Capital Letter U With Ogonek
- ų U+0173 Latin Small Letter U With Ogonek
All 128 characters: Latin Extended-A.
Official reference
Questions people ask
- What is the HTML code for ū?
- Use the named entity ū, or ū (decimal) or ū (hex).
- What is the UTF-8 encoding of U+016B?
- C5 AB (hex), 2 bytes. In a URL it is %C5%AB.
- How do I write U+016B in JavaScript or Python?
- JavaScript: \u016B. Python: \u016B.
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