ASCII 176
Degree Sign (°)
Latin-1 Supplement
Degree sign (°). Used with temperatures (25°C) and angles (90°).
All encodings at a glance
| Decimal | 176 |
| Hexadecimal | 0xB0 |
| Octal | 0260 |
| Binary | 10110000 |
| HTML numeric entity | ° |
| HTML named entity | ° |
| URL encoding | %B0 |
| UTF-8 bytes | 0xC2 0xB0 |
Code snippets
JavaScript
String.fromCharCode(176); // "°"
176.toString(16); // "b0"Python
chr(176) # control char °
ord(chr(176)) # 176
hex(176) # '0xb0'HTML
° <!-- named entity -->
° <!-- numeric entity -->Unicode & UTF-8 note
In Unicode this is U+00B0. In UTF-8 it encodes to the byte sequence 0xC2 0xB0. In legacy Latin-1 (ISO-8859-1) it is a single byte 0xB0, which is why Latin-1 files often appear as mojibake when interpreted as UTF-8.