DevKits

ASCII 207

Character 207 (Ï)

Latin-1 Supplement

Latin capital letter Ï. Common in Western European languages (French, German, Spanish, Portuguese).

Common uses & context

Decimal 207 (0xCF) is Character 207, part of the Latin-1 Supplement (128–255). Latin capital letter Ï. Common in Western European languages (French, German, Spanish, Portuguese). It renders as 'Ï' and its binary byte is 11001111.

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

All encodings at a glance

Decimal207
Hexadecimal0xCF
Octal0317
Binary11001111
HTML numeric entityÏ
URL encoding%CF
UTF-8 bytes0xC3 0x8F

Code snippets

JavaScript

String.fromCharCode(207); // "Ï"
207.toString(16); // "cf"

Python

chr(207)           # control char Ï
ord(chr(207))      # 207
hex(207)           # '0xcf'

HTML

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

Programming notes

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

Frequently asked questions

What character is ASCII code 207?

ASCII code 207 is the character 'Ï' (Character 207). In hexadecimal it is 0xCF, in octal 0317, and in binary 11001111.

What is 0xCF in ASCII?

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

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

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

Is 'Ï' part of standard ASCII?

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

Nearby codes

Encode & convert this character