±

ASCII Character: Plus-minus sign

ASCII Code 177 · Unicode U+00B1 · Hex 0xB1

plus-minus-sign plus-minus

About the Plus-minus sign Character

ASCII code 177 (0xB1) represents the Plus-minus sign character in the extended ASCII table (128–255). It is part of the extended ASCII character set defined by the Windows-1252 (CP-1252) encoding. The extended ASCII range builds upon the original 128-character ASCII set, adding accented letters, currency symbols, typographic marks, and mathematical symbols. These characters are defined by the Windows-1252 (CP-1252) encoding, which is a superset of ISO 8859-1 (Latin-1). In modern web development, UTF-8 encoding is preferred, but understanding extended ASCII remains important for legacy system compatibility and character encoding troubleshooting.

Encoding Details

ASCII Code 177
Hexadecimal 0xB1
Octal 261
Binary 10110001
Unicode U+00B1
Unicode Name PLUS-MINUS SIGN
HTML Numeric ±
HTML Entity ±
URL Escape %B1
UTF-8 (Hex) C2 B1
Quoted-Printable =B1

Source Code Examples

JavaScript
// Character literal
let char = '±';
// Using char code
let char2 = String.fromCharCode(177);
// Unicode escape
let char3 = '\u00B1';
Python
# Character literal
char = '±'
# Using chr()
char = chr(177)
# Using ord() to get code
code = ord('±')  # Returns 177
HTML
<!-- Direct character -->
±
<!-- HTML entity (numeric) -->
&#177;
<!-- Hex entity -->
&#xB1;
C#
// Character literal
char c = '±';
// Using cast
char c2 = (char)177;
// To get code from char
int code = (int)'±';  // Returns 177

Navigate

Copied!