Jump to content

Windows-1253

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Drmccreedy (talk | contribs) at 19:01, 13 December 2020 (Fix legend after previous edit). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Windows-1253
MIME / IANAWindows-1253
Alias(es)cp1253
Language(s)Greek, English
StandardWHATWG Encoding Standard
ClassificationExtended ASCII, Windows-125x
Based onISO/IEC 8859-7, Windows-1252

Windows code page 1253 ("Greek - ANSI"),[1] commonly known by its IANA-registered name Windows-1253[2] or abbreviated as cp1253,[3][4] is a Microsoft Windows code page used to write modern Greek. It is not capable of supporting the older polytonic Greek.

It is not fully compatible with ISO 8859-7 because a few characters, including the letter Ά, are located at different byte values:

  • µ[a] and are added at their locations from Windows-1252 and ISO 8859-1 (0xB5 and 0xB6). This collides with the locations of ΅ and Ά, respectively, in ISO 8859-7.
  • and are moved from their ISO 8859-7 locations (0xA1 and 0xA2) to their Windows-1252 locations (0x91 and 0x92). The displaced ΅ and Ά are moved to the vacated space at 0xA1 and 0xA2 respectively.
  • ¤ and ¥ are added at their locations from Windows-1252 and ISO 8859-1 (0xA4 and 0xA5). This collides with additions made to ISO 8859-7 in 2003, when and respectively were added to the same locations. The was added to Windows-1253 at 0x80, the same location which it was added to in Windows-1252. An iota subscript (ͺ) was also added to ISO 8859-7 at 0xAA; this remains unallocated in Windows-1253.
  • Several further characters are added at their Windows-1252 locations, although the rest do not collide with ISO 8859-7.

IBM uses code page 1253 (CCSID 1253 and euro sign extended CCSID 5349) for Windows-1253.[5][6][7]

Unicode is preferred for Greek in modern applications, especially as UTF-8 encoding on the Internet. Unicode provides many more glyphs for complete coverage, see Greek alphabet in Unicode and Ancient Greek Musical Notation for tables.

Character set

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

Windows-1253[3][1][8][9][10][11]
_0 _1 _2 _3 _4 _5 _6 _7 _8 _9 _A _B _C _D _E _F
0_
0
Template:Chset-color-ctrl|NUL
0000
Template:Chset-color-ctrl|SOH
0001
Template:Chset-color-ctrl|STX
0002
Template:Chset-color-ctrl|ETX
0003
Template:Chset-color-ctrl|EOT
0004
Template:Chset-color-ctrl|ENQ
0005
Template:Chset-color-ctrl|ACK
0006
Template:Chset-color-ctrl|BEL
0007
Template:Chset-color-ctrl|BS
0008
Template:Chset-color-ctrl|HT
0009
Template:Chset-color-ctrl|LF
000A
Template:Chset-color-ctrl|VT
000B
Template:Chset-color-ctrl|FF
000C
Template:Chset-color-ctrl|CR
000D
Template:Chset-color-ctrl|SO
000E
Template:Chset-color-ctrl|SI
000F
1_
16
Template:Chset-color-ctrl|DLE
0010
Template:Chset-color-ctrl|DC1
0011
Template:Chset-color-ctrl|DC2
0012
Template:Chset-color-ctrl|DC3
0013
Template:Chset-color-ctrl|DC4
0014
Template:Chset-color-ctrl|NAK
0015
Template:Chset-color-ctrl|SYN
0016
Template:Chset-color-ctrl|ETB
0017
Template:Chset-color-ctrl|CAN
0018
Template:Chset-color-ctrl|EM
0019
Template:Chset-color-ctrl|SUB
001A
Template:Chset-color-ctrl|ESC
001B
Template:Chset-color-ctrl|FS
001C
Template:Chset-color-ctrl|GS
001D
Template:Chset-color-ctrl|RS
001E
Template:Chset-color-ctrl|US
001F
2_
32
Template:Chset-color-misc|SP
0020
Template:Chset-color-punct|!
0021
Template:Chset-color-punct|"
0022
Template:Chset-color-punct|#
0023
Template:Chset-color-graph|$
0024
Template:Chset-color-punct|%
0025
Template:Chset-color-punct|&
0026
Template:Chset-color-punct|'
0027
Template:Chset-color-punct|(
0028
Template:Chset-color-punct|)
0029
Template:Chset-color-punct|*
002A
Template:Chset-color-graph|+
002B
Template:Chset-color-punct|,
002C
Template:Chset-color-punct|-
002D
Template:Chset-color-punct|.
002E
Template:Chset-color-punct|/
002F
3_
48
Template:Chset-color-digit|0
0030
Template:Chset-color-digit|1
0031
Template:Chset-color-digit|2
0032
Template:Chset-color-digit|3
0033
Template:Chset-color-digit|4
0034
Template:Chset-color-digit|5
0035
Template:Chset-color-digit|6
0036
Template:Chset-color-digit|7
0037
Template:Chset-color-digit|8
0038
Template:Chset-color-digit|9
0039
Template:Chset-color-punct|:
003A
Template:Chset-color-punct|;
003B
Template:Chset-color-graph|<
003C
Template:Chset-color-graph|=
003D
Template:Chset-color-graph|>
003E
Template:Chset-color-punct|?
003F
4_
64
Template:Chset-color-punct|@
0040
Template:Chset-color-letter|A
0041
Template:Chset-color-letter|B
0042
Template:Chset-color-letter|C
0043
Template:Chset-color-letter|D
0044
Template:Chset-color-letter|E
0045
Template:Chset-color-letter|F
0046
Template:Chset-color-letter|G
0047
Template:Chset-color-letter|H
0048
Template:Chset-color-letter|I
0049
Template:Chset-color-letter|J
004A
Template:Chset-color-letter|K
004B
Template:Chset-color-letter|L
004C
Template:Chset-color-letter|M
004D
Template:Chset-color-letter|N
004E
Template:Chset-color-letter|O
004F
5_
80
Template:Chset-color-letter|P
0050
Template:Chset-color-letter|Q
0051
Template:Chset-color-letter|R
0052
Template:Chset-color-letter|S
0053
Template:Chset-color-letter|T
0054
Template:Chset-color-letter|U
0055
Template:Chset-color-letter|V
0056
Template:Chset-color-letter|W
0057
Template:Chset-color-letter|X
0058
Template:Chset-color-letter|Y
0059
Template:Chset-color-letter|Z
005A
Template:Chset-color-punct|[
005B
Template:Chset-color-punct|\
005C
Template:Chset-color-punct|]
005D
Template:Chset-color-graph|^
005E
Template:Chset-color-punct|_
005F
6_
96
Template:Chset-color-graph|`
0060
Template:Chset-color-letter|a
0061
Template:Chset-color-letter|b
0062
Template:Chset-color-letter|c
0063
Template:Chset-color-letter|d
0064
Template:Chset-color-letter|e
0065
Template:Chset-color-letter|f
0066
Template:Chset-color-letter|g
0067
Template:Chset-color-letter|h
0068
Template:Chset-color-letter|i
0069
Template:Chset-color-letter|j
006A
Template:Chset-color-letter|k
006B
Template:Chset-color-letter|l
006C
Template:Chset-color-letter|m
006D
Template:Chset-color-letter|n
006E
Template:Chset-color-letter|o
006F
7_
112
Template:Chset-color-letter|p
0070
Template:Chset-color-letter|q
0071
Template:Chset-color-letter|r
0072
Template:Chset-color-letter|s
0073
Template:Chset-color-letter|t
0074
Template:Chset-color-letter|u
0075
Template:Chset-color-letter|v
0076
Template:Chset-color-letter|w
0077
Template:Chset-color-letter|x
0078
Template:Chset-color-letter|y
0079
Template:Chset-color-letter|z
007A
Template:Chset-color-punct|{
007B
Template:Chset-color-graph||
007C
Template:Chset-color-punct|}
007D
Template:Chset-color-graph|~
007E
Template:Chset-color-ctrl|DEL
007F
8_
128
Template:Chset-color-graph-var|
20AC
Template:Chset-color-undef|
 
Template:Chset-color-punct-var|
201A
Template:Chset-color-letter-var|ƒ
0192
Template:Chset-color-punct-var|
201E
Template:Chset-color-punct-var|
2026
Template:Chset-color-punct-var|
2020
Template:Chset-color-punct-var|
2021
Template:Chset-color-undef|
 
Template:Chset-color-punct-var|
2030
Template:Chset-color-undef|
 
Template:Chset-color-punct-var|
2039
Template:Chset-color-undef|
 
Template:Chset-color-undef|
 
Template:Chset-color-undef|
 
Template:Chset-color-undef|
 
9_
144
Template:Chset-color-undef|
 
Template:Chset-color-punct-var|
2018
Template:Chset-color-punct-var|
2019
Template:Chset-color-punct-var|
201C
Template:Chset-color-punct-var|
201D
Template:Chset-color-punct-var|
2022
Template:Chset-color-punct-var|
2013
Template:Chset-color-punct-var|
2014
Template:Chset-color-undef|
 
Template:Chset-color-graph-var|
2122
Template:Chset-color-undef|
 
Template:Chset-color-punct-var|
203A
Template:Chset-color-undef|
 
Template:Chset-color-undef|
 
Template:Chset-color-undef|
 
Template:Chset-color-undef|
 
A_
160
Template:Chset-color-misc|NBSP
00A0
Template:Chset-color-graph-var|΅
0385
Template:Chset-color-letter-var|Ά
0386
Template:Chset-color-graph|£
00A3
Template:Chset-color-graph-var|¤
00A4
Template:Chset-color-graph-var|¥
00A5
Template:Chset-color-graph|¦
00A6
Template:Chset-color-punct|§
00A7
Template:Chset-color-graph|¨
00A8
Template:Chset-color-graph|©
00A9
Template:Chset-color-undef-var|
 
Template:Chset-color-punct|«
00AB
Template:Chset-color-graph|¬
00AC
Template:Chset-color-ctrl|SHY
00AD
Template:Chset-color-graph-var|®
00AE
Template:Chset-color-punct|
2015
B_
176
Template:Chset-color-graph|°
00B0
Template:Chset-color-graph|±
00B1
Template:Chset-color-digit|²
00B2
Template:Chset-color-digit|³
00B3
Template:Chset-color-graph|΄
0384
Template:Chset-color-letter-var|µ
00B5
Template:Chset-color-punct-var|
00B6
Template:Chset-color-punct|·
00B7
Template:Chset-color-letter|Έ
0388
Template:Chset-color-letter|Ή
0389
Template:Chset-color-letter|Ί
038A
Template:Chset-color-punct|»
00BB
Template:Chset-color-letter|Ό
038C
Template:Chset-color-digit|½
00BD
Template:Chset-color-letter|Ύ
038E
Template:Chset-color-letter|Ώ
038F
C_
192
Template:Chset-color-letter|ΐ
0390
Template:Chset-color-letter|Α
0391
Template:Chset-color-letter|Β
0392
Template:Chset-color-letter|Γ
0393
Template:Chset-color-letter|Δ
0394
Template:Chset-color-letter|Ε
0395
Template:Chset-color-letter|Ζ
0396
Template:Chset-color-letter|Η
0397
Template:Chset-color-letter|Θ
0398
Template:Chset-color-letter|Ι
0399
Template:Chset-color-letter|Κ
039A
Template:Chset-color-letter|Λ
039B
Template:Chset-color-letter|Μ
039C
Template:Chset-color-letter|Ν
039D
Template:Chset-color-letter|Ξ
039E
Template:Chset-color-letter|Ο
039F
D_
208
Template:Chset-color-letter|Π
03A0
Template:Chset-color-letter|Ρ
03A1
Template:Chset-color-undef|
 
Template:Chset-color-letter|Σ
03A3
Template:Chset-color-letter|Τ
03A4
Template:Chset-color-letter|Υ
03A5
Template:Chset-color-letter|Φ
03A6
Template:Chset-color-letter|Χ
03A7
Template:Chset-color-letter|Ψ
03A8
Template:Chset-color-letter|Ω
03A9
Template:Chset-color-letter|Ϊ
03AA
Template:Chset-color-letter|Ϋ
03AB
Template:Chset-color-letter|ά
03AC
Template:Chset-color-letter|έ
03AD
Template:Chset-color-letter|ή
03AE
Template:Chset-color-letter|ί
03AF
E_
224
Template:Chset-color-letter|ΰ
03B0
Template:Chset-color-letter|α
03B1
Template:Chset-color-letter|β
03B2
Template:Chset-color-letter|γ
03B3
Template:Chset-color-letter|δ
03B4
Template:Chset-color-letter|ε
03B5
Template:Chset-color-letter|ζ
03B6
Template:Chset-color-letter|η
03B7
Template:Chset-color-letter|θ
03B8
Template:Chset-color-letter|ι
03B9
Template:Chset-color-letter|κ
03BA
Template:Chset-color-letter|λ
03BB
Template:Chset-color-letter|μ
03BC
Template:Chset-color-letter|ν
03BD
Template:Chset-color-letter|ξ
03BE
Template:Chset-color-letter|ο
03BF
F_
240
Template:Chset-color-letter|π
03C0
Template:Chset-color-letter|ρ
03C1
Template:Chset-color-letter|ς
03C2
Template:Chset-color-letter|σ
03C3
Template:Chset-color-letter|τ
03C4
Template:Chset-color-letter|υ
03C5
Template:Chset-color-letter|φ
03C6
Template:Chset-color-letter|χ
03C7
Template:Chset-color-letter|ψ
03C8
Template:Chset-color-letter|ω
03C9
Template:Chset-color-letter|ϊ
03CA
Template:Chset-color-letter|ϋ
03CB
Template:Chset-color-letter|ό
03CC
Template:Chset-color-letter|ύ
03CD
Template:Chset-color-letter|ώ
03CE
Template:Chset-color-undef|
 

  Letter  Number  Punctuation  Symbol  Other  Undefined

Differences from ISO 8859-7 are shown with darker shading on top of their legend color.

See also

Footnotes

  1. ^ This is in addition to the existing μ at 0xEC, which remains in place. Unicode calls the one at 0xB5 "micro sign" (U+00B5) and the one at 0xEC "Greek small letter Mu" (U+03BC), although the former is mapped to the latter by NFKC (although not NFC) Unicode normalization. See also Duplicate characters in Unicode § Duplicate vs. derived character.

References

  1. ^ a b Microsoft. "Codepage 1253: Greek - ANSI". Unicode Consortium.
  2. ^ Lazhintseva, Katya (1996-05-03). "Registration of new MIME charset: Windows-1253". IANA.
  3. ^ a b Steele, Shawn (1998-04-15). "CP1253.TXT: cp1253 to Unicode table, version 2.01". Unicode Consortium.
  4. ^ "7.2.3. Standard Encodings". Python 3.6 Documentation. Python Software Foundation.
  5. ^ "Code page 1253 information document". Archived from the original on 2016-03-03.
  6. ^ "CCSID 1253 information document". Archived from the original on 2016-03-27.
  7. ^ "CCSID 5349 information document". Archived from the original on 2014-11-29.
  8. ^ Code Page CPGID 01253 (pdf) (PDF), IBM
  9. ^ Code Page CPGID 01253 (txt), IBM
  10. ^ International Components for Unicode (ICU), ibm-1253_P100-1995.ucm, 2002-12-03
  11. ^ International Components for Unicode (ICU), ibm-5349_P100-1998.ucm, 2002-12-03