DevKits

ASCII 177

Plus-Minus Sign (±)

Latin-1 Supplement

Plus-minus sign (±). Used to express margins of error and tolerance ranges (5 ± 0.5).

All encodings at a glance

Decimal177
Hexadecimal0xB1
Octal0261
Binary10110001
HTML numeric entity±
HTML named entity±
URL encoding%B1
UTF-8 bytes0xC2 0xB1

Code snippets

JavaScript

String.fromCharCode(177); // "±"
177.toString(16); // "b1"

Python

chr(177)           # control char ±
ord(chr(177))      # 177
hex(177)           # '0xb1'

HTML

&plusmn;   <!-- named entity -->
&#177;   <!-- numeric entity -->

Unicode & UTF-8 note

In Unicode this is U+00B1. In UTF-8 it encodes to the byte sequence 0xC2 0xB1. In legacy Latin-1 (ISO-8859-1) it is a single byte 0xB1, which is why Latin-1 files often appear as mojibake when interpreted as UTF-8.

Nearby codes