Ī is the Unicode character LATIN CAPITAL LETTER I WITH MACRON, code point U+012A (decimal 298) in the Latin Extended-A block, added in Unicode 1.1. In HTML write Ī, and in UTF-8 it is the 2 bytes C4 AA.
Codes
| Where | How to write it |
|---|---|
| Code point | U+012A |
| Decimal | 298 |
| UTF-8 bytes | C4 AA |
| UTF-16 (big-endian) | 012A |
| UTF-32 | 0000012A |
| HTML decimal | Ī |
| HTML hex | Ī |
| HTML named | Ī |
| CSS | \12A |
| JavaScript | \u012A |
| JSON | \u012A |
| Python | \u012A |
| Python by name | \N{LATIN CAPITAL LETTER I WITH MACRON} |
| Java, C# | \u012A |
| Rust, Swift | \u{12A} |
| Go, C, C++ | \u012A |
| URL (percent-encoded) | %C4%AA |
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 CAPITAL LETTER I WITH MACRON |
| Code point | U+012A (decimal 298) |
| Block | Latin Extended-A (U+0100–U+017F) |
| General category | Lu: Uppercase letter |
| Script | Latin |
| Bidirectional class | L: Left-to-right |
| Mirrored in right-to-left text | No |
| First in Unicode version | 1.1 |
Decomposition
LATIN CAPITAL LETTER I WITH MACRON is canonically equivalent to the sequence below. Normalising text to NFD splits it into these parts; NFC joins them back into U+012A. Search and comparison should normalise first, or the two spellings will not match.
Upper and lower case
- ī U+012B Latin Small Letter I With Macron — Lowercase
Nearby in Latin Extended-A
- Ģ U+0122 Latin Capital Letter G With Cedilla
- ģ U+0123 Latin Small Letter G With Cedilla
- Ĥ U+0124 Latin Capital Letter H With Circumflex
- ĥ U+0125 Latin Small Letter H With Circumflex
- Ħ U+0126 Latin Capital Letter H With Stroke
- ħ U+0127 Latin Small Letter H With Stroke
- Ĩ U+0128 Latin Capital Letter I With Tilde
- ĩ U+0129 Latin Small Letter I With Tilde
- ī U+012B Latin Small Letter I With Macron
- Ĭ U+012C Latin Capital Letter I With Breve
- ĭ U+012D Latin Small Letter I With Breve
- Į U+012E Latin Capital Letter I With Ogonek
- į U+012F Latin Small Letter I With Ogonek
- İ U+0130 Latin Capital Letter I With Dot Above
- ı U+0131 Latin Small Letter Dotless I
- IJ U+0132 Latin Capital Ligature Ij
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+012A?
- C4 AA (hex), 2 bytes. In a URL it is %C4%AA.
- How do I write U+012A in JavaScript or Python?
- JavaScript: \u012A. Python: \u012A.
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