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