DevKits

ASCII 170

Feminine Ordinal Indicator (ª)

Latin-1 Supplement

Latin-1 character.

All encodings at a glance

Decimal170
Hexadecimal0xAA
Octal0252
Binary10101010
HTML numeric entityª
HTML named entityª
URL encoding%AA
UTF-8 bytes0xC2 0xAA

Code snippets

JavaScript

String.fromCharCode(170); // "ª"
170.toString(16); // "aa"

Python

chr(170)           # control char ª
ord(chr(170))      # 170
hex(170)           # '0xaa'

HTML

&ordf;   <!-- named entity -->
&#170;   <!-- 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.

Nearby codes