in reply to Encoding changed from Greek to somethign else

You mention Notepad.

  1. case - you have your data all as hardcoded string in index.pl
  2. Include the pragma use utf8; in the index.pl. Make sure to select UTF-8 encoding when saving the file.

  3. case - you have your data in an outside file
  4. I assume your data is in Windows-1253. When reading it into variables, decode it. Or handle the decoding automatically through an IO layer during opening the file:

    open my $fh, '<:encoding(windows-1253)', 'filename.dat' or die "could +not open filename.dat for reading: $!";
When writing the XHTML out:

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