Back to Character Encoding

Windows-1253 Windows-1253 (CP-1253, Greek) Windows Code Pages

The Windows-native Greek code page — the practical counterpart to ISO-8859-7 on Windows systems.

What it is

Windows-1253 is Microsoft's Greek code page, the Windows-native counterpart to ISO-8859-7, following the same general Windows-125x pattern of filling the 0x80–0x9F range with printable characters.

Byte structure

Byte range Content
0x00–0x7F Identical to ASCII
0x80–0x9F Printable characters (curly quotes, dashes)
0xA0–0xFF Greek letters and symbols, largely shared with ISO-8859-7

Why your text is garbled (symptom → cause)

Symptom Likely cause
Greek accented letters mostly correct, quotes/punctuation wrong Windows-1253 vs. ISO-8859-7 confusion in the 0x80–0x9F range
Legacy Greek Windows documents garbled after migration Windows-1253 data needing explicit conversion to UTF-8

Compatibility & gotchas

  • The Windows-native counterpart to ISO-8859-7, more commonly deployed in practice on Windows systems historically for Greek text.

Fixing it

  • Command-line conversion: iconv -f WINDOWS-1253 -t UTF-8 input.txt -o output.txt

Comparison

Encoding Key difference from Windows-1253
ISO-8859-7 Same base Greek letter coverage, differs in the 0x80–0x9F range
UTF-8 Full Unicode coverage, the modern default

FAQ

Is Windows-1253 the same as ISO-8859-7?

Nearly — they share the core Greek letter assignments, but differ in the 0x80–0x9F range the same way other Windows-125x/ISO-8859 pairs do.

Fun fact

Modern Greek text handling benefits from Unicode's dedicated Greek and Coptic block being large enough to cover both monotonic and polytonic (historical/liturgical) forms comprehensively — something neither ISO-8859-7 nor Windows-1253 could fully achieve within their single-byte constraints.