DevKits

ASCII 239

Character 239 (ï)

Latin-1 Supplement

Latin small letter ï. Common in Western European languages.

Common uses & context

Decimal 239 (0xEF) is Character 239, part of the Latin-1 Supplement (128–255). Latin small letter ï. Common in Western European languages. It renders as 'ï' and its binary byte is 11101111.

This is where single-byte ASCII ends and encoding matters. In Latin-1 (ISO-8859-1) 'ï' is the single byte 0xEF. In UTF-8 — today's default for the web — the same character is the multi-byte sequence 0xC3 0xAF. Treating a Latin-1 byte as UTF-8 (or vice versa) is the usual reason accented letters and symbols turn into mojibake like é or €. The Unicode code point is U+00EF, and in HTML you can write it as ï.

All encodings at a glance

Decimal239
Hexadecimal0xEF
Octal0357
Binary11101111
HTML numeric entityï
URL encoding%EF
UTF-8 bytes0xC3 0xAF

Code snippets

JavaScript

String.fromCharCode(239); // "ï"
239.toString(16); // "ef"

Python

chr(239)           # control char ï
ord(chr(239))      # 239
hex(239)           # '0xef'

HTML

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

Programming notes

  • Single byte 0xEF in Latin-1, but the multi-byte sequence 0xC3 0xAF in UTF-8 — never assume one byte per character above code 127.
  • Unicode code point U+00EF; HTML numeric entity &#239;.
  • If 'ï' shows as mojibake, the encoding declared and the encoding used disagree — align both on UTF-8.

Unicode & UTF-8 note

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

Frequently asked questions

What character is ASCII code 239?

ASCII code 239 is the character 'ï' (Character 239). In hexadecimal it is 0xEF, in octal 0357, and in binary 11101111.

What is 0xEF in ASCII?

Hexadecimal 0xEF equals decimal 239, which is the character 'ï' (Character 239). To convert hex to ASCII yourself, read the two hex digits as a base-16 number (0xEF = 239) and look up that code point.

How do I write the character with code 239 in code?

In JavaScript use String.fromCharCode(239); in Python use chr(239); in HTML use the numeric entity &#239;. In a URL it is percent-encoded as %EF, and in UTF-8 it is stored as the byte sequence 0xC3 0xAF.

Is 'ï' part of standard ASCII?

No. Standard ASCII covers codes 0–127 only. 'ï' is code 239, part of the Latin-1 Supplement (128–255, sometimes called "extended ASCII"). It is a single byte 0xEF in Latin-1 but a multi-byte sequence (0xC3 0xAF) in UTF-8.

Nearby codes

Encode & convert this character