DevKits

ASCII 188

Vulgar Fraction One Quarter (¼)

Latin-1 Supplement

One-quarter fraction. Precomposed glyph — for arbitrary fractions use ⅜ ⅝ ⅞ etc.

All encodings at a glance

Decimal188
Hexadecimal0xBC
Octal0274
Binary10111100
HTML numeric entity¼
HTML named entity¼
URL encoding%BC
UTF-8 bytes0xC2 0xBC

Code snippets

JavaScript

String.fromCharCode(188); // "¼"
188.toString(16); // "bc"

Python

chr(188)           # control char ¼
ord(chr(188))      # 188
hex(188)           # '0xbc'

HTML

&frac14;   <!-- named entity -->
&#188;   <!-- numeric entity -->

Unicode & UTF-8 note

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

Nearby codes