| MIME / IANA | windows-1254 |
|---|---|
| Alias(es) | cp1254 (Code page 1254) |
| Language | Turkish |
| Created by | Microsoft |
| Standard | WHATWG Encoding Standard |
| Classification | extended ASCII,Windows-125x |
| Extends | ISO 8859-9 (without single-byte C1 controls) |
Windows-1254 is acode page used underMicrosoft Windows (and for the web), to writeTurkish that it was designed for (and the vast majority of users use it for that language, even though it can also be used for some other languages). Characters with codepoints A0 through FF are compatible withISO 8859-9, but theCR range, which is reserved forC1 control codes in ISO 8859, is instead used for additional characters (analogous to the relationship betweenISO-8859-1 andWindows-1252). It matches Windows-1252 except for the replacement of sixIcelandic characters (Ðð,Ýý,Þþ) with characters unique to theTurkish alphabet (Ğğ,İ,ı,Şş).
TheWHATWG Encoding Standard, which specifies the character encodings which are permitted inHTML5 and which compliant browsers must support,[1] includes Windows-1254, which is used for both the Windows-1254 and ISO-8859-9 labels.[2][3]Unicode is preferred for modern applications; authors of new pages and the designers of new protocols are instructed to useUTF-8 instead.[2] As of 2023[update], less than 0.05% of all web pages use Windows-1254, and less than 0.05% use ISO-8859-9,[4][5] which the WHATWG also requires web browsers to handle as Windows-1254.[2] Since 2.2% of all websites located in Turkey use ISO-8859-9, plus the 1.3% that actually declare Windows-1254 used, in effect, 3.5% of websites there use Windows-1254.[6]
IBM uses code page 1254 (CCSID 1254 andeuro sign extended CCSID 5350) for Windows-1254.[7][8][9]
The following table shows Windows-1254. Each character is shown with itsUnicode equivalent.
User agents must support the encodings defined in the WHATWG Encoding standard, including, but not limited to […]