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