Windows-1254

(Redirected from CP1254)

Windows-1254 is a code page used under Microsoft Windows (and for the web), to write Turkish 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 with ISO 8859-9, but the CR range, which is reserved for C1 control codes in ISO 8859, is instead used for additional characters (analogous to the relationship between ISO-8859-1 and Windows-1252). It matches Windows-1252 except for the replacement of six Icelandic characters (Ðð, Ýý, Þþ) with characters unique to the Turkish alphabet (Ğğ, İ, ı, Şş).

Windows-1254
MIME / IANAwindows-1254
Alias(es)cp1254 (Code page 1254)
Language(s)Turkish
Created byMicrosoft
StandardWHATWG Encoding Standard
Classificationextended ASCII, Windows-125x
ExtendsISO 8859-9 (without single-byte C1 controls)

The WHATWG Encoding Standard, which specifies the character encodings which are permitted in HTML5 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 use UTF-8 instead.[2] As of 2023, 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 and euro sign extended CCSID 5350) for Windows-1254.[7][8][9]

Character set

The following table shows Windows-1254. Each character is shown with its Unicode equivalent.

Windows-1254[10][11][12][13][14][15]
0123456789ABCDEF
0xNULSOHSTXETXEOTENQACKBELBSHTLFVTFFCRSOSI
1xDLEDC1DC2DC3DC4NAKSYNETBCANEMSUBESCFSGSRSUS
2x SP !"#$%&'()*+,-./
3x0123456789:;<=>?
4x@ABCDEFGHIJKLMNO
5xPQRSTUVWXYZ[\]^_
6x`abcdefghijklmno
7xpqrstuvwxyz{|}~DEL
8xƒˆŠŒ
9x˜ šœŸ
AxNBSP¡¢£¤¥¦§¨©ª«¬SHY®¯
Bx°±²³´µ·¸¹º»¼½¾¿
CxÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏ
DxĞÑÒÓÔÕÖ×ØÙÚÛÜİŞß
Exàáâãäåæçèéêëìíîï
Fxğñòóôõö÷øùúûüışÿ
  Differences from Windows-1252

See also

References

External links