DevKits

ASCII 142

Character 142 (Ž)

Latin-1 Supplement

Unassigned in Latin-1 / part of the C1 control block. Not used in modern text encoding; browsers accept these code points but they carry no display glyph.

All encodings at a glance

Decimal142
Hexadecimal0x8E
Octal0216
Binary10001110
HTML numeric entityŽ
URL encoding%8E
UTF-8 bytes0xC2 0x8E

Code snippets

JavaScript

String.fromCharCode(142); // "Ž"
142.toString(16); // "8e"

Python

chr(142)           # control char Ž
ord(chr(142))      # 142
hex(142)           # '0x8e'

HTML

&#142;   <!-- numeric entity (no named entity for this character) -->

Unicode & UTF-8 note

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

Nearby codes