Back to Character Encoding

ISO-8859-7 ISO-8859-7 (Greek) ISO-8859

A Greek-script encoding covering both modern and polytonic (historical/liturgical) Greek characters.

What it is

ISO-8859-7 encodes the Greek alphabet, covering modern monotonic Greek along with several characters needed for polytonic (historical and liturgical) Greek text. Like the other regional ISO-8859 variants, it's largely been superseded by UTF-8 for new content, but still appears in older Greek-language documents, databases, and legacy software.

Byte structure

Byte range Content
0x00–0x7F Identical to ASCII
0xA0–0xFF Greek letters (upper and lowercase) and symbols, including some polytonic diacritical marks

Why your text is garbled (symptom → cause)

Symptom Likely cause
Greek text shows as unrelated symbols Text is ISO-8859-7 but read as Windows-1253 or another encoding, or vice versa
Polytonic diacritics missing or wrong on otherwise-correct Greek text Limited polytonic character coverage compared to full Unicode Greek Extended block — a genuine limitation of the single-byte format, not necessarily a decoding error

Compatibility & gotchas

  • Windows-1253 is the Windows-native near-equivalent, differing in the same 0x80–0x9F range pattern seen across the ISO-8859/Windows-125x family.
  • Limited polytonic Greek coverage compared to Unicode — if a document needs extensive historical/liturgical Greek diacritics, ISO-8859-7 may not have been sufficient even at the time, making UTF-8 migration especially worthwhile for such content.

Fixing it

  • Command-line conversion: iconv -f ISO-8859-7 -t UTF-8 input.txt -o output.txt

Comparison

Encoding Key difference from ISO-8859-7
Windows-1253 Windows-native near-equivalent, differs in the 0x80–0x9F range
UTF-8 Full Unicode Greek coverage including complete polytonic support, the modern default

FAQ

Does ISO-8859-7 support all forms of Greek text?

It covers modern monotonic Greek well, and includes some polytonic (historical/liturgical) characters, but not the full range Unicode's dedicated Greek Extended block provides — heavily polytonic content is better served by UTF-8.

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

Close but not identical — the difference follows the same pattern as Latin-1 vs. Windows-1252: they diverge in the 0x80–0x9F byte range, where Windows-1253 adds printable characters that ISO-8859-7 leaves unassigned.

Fun fact

Greek's use of both a modern simplified accent system and older polytonic diacritics for historical/religious texts made it one of the more complex single scripts for the ISO-8859 single-byte model to fully accommodate — a complexity that Unicode's much larger character space resolved comprehensively.