DevKits

ASCII 238

Character 238 (î)

Latin-1 Supplement

Latin small letter î. Common in Western European languages.

Common uses & context

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

This is where single-byte ASCII ends and encoding matters. In Latin-1 (ISO-8859-1) 'î' is the single byte 0xEE. In UTF-8 — today's default for the web — the same character is the multi-byte sequence 0xC3 0xAE. 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+00EE, and in HTML you can write it as î.

All encodings at a glance

Decimal238
Hexadecimal0xEE
Octal0356
Binary11101110
HTML numeric entityî
URL encoding%EE
UTF-8 bytes0xC3 0xAE

Code snippets

JavaScript

String.fromCharCode(238); // "î"
238.toString(16); // "ee"

Python

chr(238)           # control char î
ord(chr(238))      # 238
hex(238)           # '0xee'

HTML

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

Programming notes

  • Single byte 0xEE in Latin-1, but the multi-byte sequence 0xC3 0xAE in UTF-8 — never assume one byte per character above code 127.
  • Unicode code point U+00EE; HTML numeric entity &#238;.
  • 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+00EE. In UTF-8 it encodes to the byte sequence 0xC3 0xAE. In legacy Latin-1 (ISO-8859-1) it is a single byte 0xEE, which is why Latin-1 files often appear as mojibake when interpreted as UTF-8.

Frequently asked questions

What character is ASCII code 238?

ASCII code 238 is the character 'î' (Character 238). In hexadecimal it is 0xEE, in octal 0356, and in binary 11101110.

What is 0xEE in ASCII?

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

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

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

Is 'î' part of standard ASCII?

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

Nearby codes

Encode & convert this character