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