DevKits

ASCII 226

Character 226 (â)

Latin-1 Supplement

Latin small letter â. Common in Western European languages.

Common uses & context

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

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

All encodings at a glance

Decimal226
Hexadecimal0xE2
Octal0342
Binary11100010
HTML numeric entityâ
URL encoding%E2
UTF-8 bytes0xC3 0xA2

Code snippets

JavaScript

String.fromCharCode(226); // "â"
226.toString(16); // "e2"

Python

chr(226)           # control char â
ord(chr(226))      # 226
hex(226)           # '0xe2'

HTML

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

Programming notes

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

Frequently asked questions

What character is ASCII code 226?

ASCII code 226 is the character 'â' (Character 226). In hexadecimal it is 0xE2, in octal 0342, and in binary 11100010.

What is 0xE2 in ASCII?

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

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

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

Is 'â' part of standard ASCII?

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

Nearby codes

Encode & convert this character