ơ is the Unicode character LATIN SMALL LETTER O WITH HORN, code point U+01A1 (decimal 417) in the Latin Extended-B block, added in Unicode 1.1. In HTML write ơ, and in UTF-8 it is the 2 bytes C6 A1.
Codes
| Where | How to write it |
|---|---|
| Code point | U+01A1 |
| Decimal | 417 |
| UTF-8 bytes | C6 A1 |
| UTF-16 (big-endian) | 01A1 |
| UTF-32 | 000001A1 |
| HTML decimal | ơ |
| HTML hex | ơ |
| CSS | \1A1 |
| JavaScript | \u01A1 |
| JSON | \u01A1 |
| Python | \u01A1 |
| Python by name | \N{LATIN SMALL LETTER O WITH HORN} |
| Java, C# | \u01A1 |
| Rust, Swift | \u{1A1} |
| Go, C, C++ | \u01A1 |
| URL (percent-encoded) | %C6%A1 |
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 O WITH HORN |
| Code point | U+01A1 (decimal 417) |
| Block | Latin Extended-B (U+0180–U+024F) |
| 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 O WITH HORN is canonically equivalent to the sequence below. Normalising text to NFD splits it into these parts; NFC joins them back into U+01A1. Search and comparison should normalise first, or the two spellings will not match.
Upper and lower case
- Ơ U+01A0 Latin Capital Letter O With Horn — Uppercase
Nearby in Latin Extended-B
- ƙ U+0199 Latin Small Letter K With Hook
- ƚ U+019A Latin Small Letter L With Bar
- ƛ U+019B Latin Small Letter Lambda With Stroke
- Ɯ U+019C Latin Capital Letter Turned M
- Ɲ U+019D Latin Capital Letter N With Left Hook
- ƞ U+019E Latin Small Letter N With Long Right Leg
- Ɵ U+019F Latin Capital Letter O With Middle Tilde
- Ơ U+01A0 Latin Capital Letter O With Horn
- Ƣ U+01A2 Latin Capital Letter Oi
- ƣ U+01A3 Latin Small Letter Oi
- Ƥ U+01A4 Latin Capital Letter P With Hook
- ƥ U+01A5 Latin Small Letter P With Hook
- Ʀ U+01A6 Latin Letter Yr
- Ƨ U+01A7 Latin Capital Letter Tone Two
- ƨ U+01A8 Latin Small Letter Tone Two
- Ʃ U+01A9 Latin Capital Letter Esh
All 208 characters: Latin Extended-B.
Official reference
Questions people ask
- What is the HTML code for ơ?
- Use ơ (decimal) or ơ (hex).
- What is the UTF-8 encoding of U+01A1?
- C6 A1 (hex), 2 bytes. In a URL it is %C6%A1.
- How do I write U+01A1 in JavaScript or Python?
- JavaScript: \u01A1. Python: \u01A1.
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