in reply to Encoding changed from Greek to somethign else

Your document claims its encoded using iso‑8859‑1, but that's wrong.

Judging by the repetition patterns when viewed as iso‑8859‑1, it's actually encoded using a multi-byte encoding such as UTF-8. iso‑8859‑* are single-byte encodings.

The most likely encoding would be UTF‑8. However, when viewed as UTF‑8, you still see the telltale repetition pattern of a multi-byte encoding.

I suspect you did the equivalent of

print(encode('UTF-8', encode('UTF-8', $s)));

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.
A reply falls below the community's threshold of quality. You may see it by logging in.