Because some characters are encoded the same in both ISO-8859-7 and UTF-8. So even though you program was buggy, you still happened to get some correct output.
| [reply] |
But the data that actually got prined correctly weren't greek characters. They were data composed of english letters like "/home/nikos/public_html/data/text".
| [reply] |
Despite the "but", that doesn't contradict what I said. Those are characters that are encoded the same in both ISO-8859-7 and UTF-8.
Specifically, U+0020..U+007E are encoded the same in ASCII, ISO-8859-* and UTF-8.
| [reply] |