Latin character U with macron
About this character
The character ū is known as Latin character U with macron and carries the Unicode code point U+016B, which is 363 in decimal. It belongs to the Latin Extended-A block (U+0100–U+017F), which gathers the accented letters of Central and Northern European languages missing from Latin-1, such as Polish, Czech and Hungarian.
In memory, ū takes 2 bytes in UTF-8 (0xC5 0xAB) and 1 in UTF-16 (0x016B). That difference is why badly configured forms or databases garble this character: they assume one byte per character.
How to type ū
| System | What to do |
|---|---|
| Windows | In Word or WordPad, type 016B and press Alt + X to turn the code into the character. |
| macOS | On a Mac, open the Character Viewer with Ctrl + ⌘ + Space and search for “Latin character U with macron”. |
| Linux | On Linux (GTK), type Ctrl + ⇧ + U, 016B then press Enter. |
| HTML / Web | In an HTML page, write ū. Use \016B in CSS, \u016B in JavaScript and \u016B in Python. |
| On this site | The simplest route is the Copy button above: the character goes straight to your clipboard, ready to paste anywhere. |
Keyboards that include ū
This character is not on any common physical layout, so the Copy button above is the quickest way to get it into a document.
Codes and encodings
| Property | Value |
|---|---|
| Code point | U+016B |
| Unicode block | Latin Extended-A (U+0100–U+017F) |
| Decimal | 363 |
| Hexadecimal | 0x016B |
| Octal | 0553 |
| Binary | 101101011 |
| UTF-8 bytes | 0xC5 0xAB |
| UTF-16 units | 0x016B |
| Named HTML entity | None |
| Decimal HTML entity | ū |
| Hex HTML entity | ū |
| CSS escape | \016B |
| JavaScript escape | \u016B |
| Python escape | \u016B |
| URL encoding | %C5%AB |
Frequently asked questions
What is the Unicode code for ū?
Its code point is U+016B, which is 363 in decimal and 0553 in octal. In HTML you can write it as ū or ū.
Why does ū show up as a box or a question mark?
An empty box means the font has no glyph for U+016B. The character is still in the text: switching to a font that covers the block (Noto, DejaVu or Segoe UI Symbol) makes it appear.
Can I use ū in a filename, a URL or a password?
In a URL it must be encoded as %C5%AB. Modern filesystems accept it, though it is still risky when moving files between systems. For passwords, some forms reject non-ASCII characters outright.