ASCII 170
Feminine Ordinal Indicator (ª)
Latin-1 Supplement
Latin-1 character.
All encodings at a glance
| Decimal | 170 |
| Hexadecimal | 0xAA |
| Octal | 0252 |
| Binary | 10101010 |
| HTML numeric entity | ª |
| HTML named entity | ª |
| URL encoding | %AA |
| UTF-8 bytes | 0xC2 0xAA |
Code snippets
JavaScript
String.fromCharCode(170); // "ª"
170.toString(16); // "aa"Python
chr(170) # control char ª
ord(chr(170)) # 170
hex(170) # '0xaa'HTML
ª <!-- named entity -->
ª <!-- numeric entity -->Unicode & UTF-8 note
In Unicode this is U+00AA. In UTF-8 it encodes to the byte sequence 0xC2 0xAA. In legacy Latin-1 (ISO-8859-1) it is a single byte 0xAA, which is why Latin-1 files often appear as mojibake when interpreted as UTF-8.