Menu
Home Explore People Places Arts History Plants & Animals Science Life & Culture Technology
On this page
Windows-1251
Code page

Windows-1251 is an 8-bit character encoding, designed to cover languages that use the Cyrillic script such as Russian, Ukrainian, Belarusian, Bulgarian, Serbian Cyrillic, Macedonian and other languages.

On the web, it is the second most-used single-byte character encoding (or third most-used character encoding overall), and most used of the single-byte encodings supporting Cyrillic. As of January 2024[update], 0.3% of all websites use Windows-1251. It's by far mostly used for Russian, while a small minority of Russian websites use it, with 94.6% of Russian (.ru) websites using UTF-8, and the legacy 8-bit encoding is distant second. In Linux, the encoding is known as cp1251. IBM uses code page 1251 (CCSID 1251 and euro sign extended CCSID 5347) for Windows-1251.

Windows-1251 and KOI8-R (or its Ukrainian variant KOI8-U) are much more commonly used than ISO 8859-5 (which is used by less than 0.0004% of websites). In contrast to Windows-1252 and ISO 8859-1, Windows-1251 is not closely related to ISO 8859-5.

Unicode (e.g. UTF-8) is preferred to Windows-1251 or other Cyrillic encodings in modern applications, especially on the Internet, making UTF-8 the dominant encoding for web pages. (For further discussion of Unicode's complete coverage, of 436 Cyrillic letters/code points, including for Old Cyrillic, and how single-byte character encodings, such as Windows-1251 and KOI8-R, cannot provide this, see Cyrillic script in Unicode.)

We don't have any images related to Windows-1251 yet.
We don't have any YouTube videos related to Windows-1251 yet.
We don't have any PDF documents related to Windows-1251 yet.
We don't have any Books related to Windows-1251 yet.
We don't have any archived web articles related to Windows-1251 yet.

Character set

The following table shows Windows-1251. Each character is shown with its Unicode equivalent and its Alt code.

Windows-125115
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

Kazakh variants

KZ-1048

An altered version of Windows-1251 was standardised in Kazakhstan as Kazakh standard STRK1048, and is known by the label KZ-1048. It differs in the rows shown below:

KZ-1048 (STRK1048-2002)16
0123456789ABCDEF
8xЂЃѓЉЊҚҺЏ
9xђљњқһџ
AxNBSPҰұӘ¤Ө¦§Ё©Ғ«¬SHY®Ү
Bx°±Ііөµ·ёғ»әҢңү
  Differences from Windows-1251

Code Page 1174

Code Page 1174 is another variant created for the Kazakh language, which matches Windows-1251 for the Russian subset of the Cyrillic letters. It differs from KZ-1048 by moving the Cyrillic letter Shha from 8E/9E to 8A/9A.

Code page 117417
0123456789ABCDEF
8xЂЃѓҺЊҚЋЏ
9xђһњқћџ
AxNBSPҰұӘ¤Ө¦§Ё©Ғ«¬SHY®Ү
Bx°±Ііөµ·ёғ»әҢңү
  Different from Windows-1251

Latvian variant

Windows Latvian + Russian is a modification of Windows-1251 to support the Latvian language.

Windows Latvian + Russian
0123456789ABCDEF
8xŪĢōŽŠĒĶČģ
9xūžšēķčŌ
AxNBSPĀāϤ獵Ё©Ņ«¬SHY®¯
Bx°±Īī´µ·ёņ»¼½¾×
  Differences from Windows-1251

Finnish variant

Windows Cyrillic + Finnish is a modification of Windows-1251 that was used by Paratype to cover the Finnish language. This encoding is supported by FontLab Studio 5.18 This variant is missing the letters Š and Ž which are used in loanwords in Finnish and can be replaced by the digraphs SH and ZH.

Windows Cyrillic + Finnish
0123456789ABCDEF
8xЂЃѓˆЉЊЌЋЏ
9xђ˜ љњќћџ
AxNBSPЎўÓ¤Ґ¦§Ё©Ä«¬SHY®Ö
Bx°±Ååґµ·ёä»óÉéö
  Differences from Windows-1251

Amiga variant

Russian Amiga OS systems used a version of code page 1251 which matches Windows-1251 for the Russian subset of the Cyrillic letters, but otherwise mostly follows ISO-8859-1. This version is known as Amiga-1251,19 under which name it is registered with the IANA.20

Amiga-125121
0123456789ABCDEF
8xXXXXXXBPHNBHINDNELSSAESAHTSHTJVTSPLDPLURISS2SS3
9xDCSPU1PU2STSCCHMWSPAEPASOSXXXSCICSISTOSCPMAPC
AxNBSP¡¢£22¥¦§Ё©23«¬SHY®¯
Bx°±²³´µ·ё¹º»¼½¾¿
  Different from Windows-1251 to match ISO-8859-1   Different from both Windows-1251 and ISO-8859-1

See also

Further reading

  • Kornai, Andras; Birnbaum, David J.; da Cruz, Frank; Davis, Bur; Fowler, George; Paine, Richard B.; Paperno, Slava; Simonsen, Keld J.; Thobe, Glenn E.; Vulis, Dimitri; van Wingen, Johan W. (1993-03-13). "CYRILLIC ENCODING FAQ Version 1.3". Retrieved 2020-06-24.

References

  1. "Historical trends in the usage of character encodings, January 2024". Retrieved 2024-01-01. https://w3techs.com/technologies/history_overview/character_encoding

  2. "Frequently Asked Questions". https://w3techs.com/faq

  3. "Distribution of Character Encodings among websites that use .ru". w3techs.com. Retrieved 2024-01-01. https://w3techs.com/technologies/segmentation/tld-ru-/character_encoding

  4. "Distribution of Character Encodings among websites that use Russian". w3techs.com. Retrieved 2023-01-16. https://w3techs.com/technologies/segmentation/cl-ru-/character_encoding

  5. "Distribution of Character Encodings among websites that use Russian Federation". w3techs.com. Retrieved 2021-11-05. https://w3techs.com/technologies/segmentation/sl-ru-/character_encoding

  6. "cp1251(7) - Linux manual page". man7.org. Retrieved 2018-07-01. http://man7.org/linux/man-pages/man7/cp1251.7.html

  7. "Code page 1251 information document". Archived from the original on 2016-03-03. https://web.archive.org/web/20160303215653/http://www-01.ibm.com/software/globalization/cp/cp01251.html

  8. "CCSID 1251 information document". Archived from the original on 2014-11-29. https://web.archive.org/web/20141129205237/http://www-01.ibm.com/software/globalization/ccsid/ccsid1251.html

  9. "CCSID 5347 information document". Archived from the original on 2014-11-29. https://web.archive.org/web/20141129214513/http://www-01.ibm.com/software/globalization/ccsid/ccsid5347.html

  10. Code Page CPGID 01251 (pdf) (PDF), IBM https://public.dhe.ibm.com/software/globalization/gcoc/attachments/CP01251.pdf

  11. Code Page CPGID 01251 (txt), IBM https://public.dhe.ibm.com/software/globalization/gcoc/attachments/CP01251.txt

  12. International Components for Unicode (ICU), ibm-1251_P100-1995.ucm, 2002-12-03 https://github.com/unicode-org/icu/blob/master/icu4c/source/data/mappings/ibm-1251_P100-1995.ucm

  13. International Components for Unicode (ICU), ibm-5347_P100-1998.ucm, 2002-12-03 https://github.com/unicode-org/icu/blob/master/icu4c/source/data/mappings/ibm-5347_P100-1998.ucm

  14. "Usage Statistics of Character Encodings for Websites". w3techs.com. Archived from the original on 2012-05-30. https://w3techs.com/technologies/overview/character_encoding/all

  15. Steele, Shawn (1998). CP1251 to Unicode table. Unicode Consortium. CP1251.TXT. https://www.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/WINDOWS/CP1251.TXT

  16. Whistler, Ken (2007). KZ-1048 to Unicode. Unicode Consortium. KZ1048.TXT. https://www.unicode.org/Public/MAPPINGS/VENDORS/MISC/KZ1048.TXT

  17. ibm-1174_X100-2007.ucm, IBM https://github.com/unicode-org/icu-data/blob/main/charset/data/ucm/ibm-1174_X100-2007.ucm

  18. "FontLab Studio 5. Classic pro font editor for Mac & Windows". https://www.fontlab.com/font-editor/fontlab-studio-5/

  19. Malyshev, Michael (2003). "Amiga-1251 to Unicode table". Registration of new charset [Amiga-1251]. IANA. https://www.iana.org/assignments/charset-reg/Amiga-1251

  20. "Character Sets". IANA. https://www.iana.org/assignments/character-sets/character-sets.xhtml

  21. Malyshev, Michael (2003). "Amiga-1251 to Unicode table". Registration of new charset [Amiga-1251]. IANA. https://www.iana.org/assignments/charset-reg/Amiga-1251

  22. Matching ISO-8859-15; at a different location than in Windows-1251 /wiki/ISO-8859-15

  23. Present in Windows-1251, but in a different location (absent from ISO-8859-1/15)