You mention Notepad.
Include the pragma use utf8; in the index.pl. Make sure to select UTF-8 encoding when saving the file.
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: $!";
header('Content-Type' => 'application/xml+xhtml;charset=UTF-8');
binmode STDOUT, ':utf8';
print '<?xml version="1.0" encoding="UTF-8"?>';
In reply to Re: Encoding changed from Greek to somethign else
by daxim
in thread Encoding changed from Greek to somethign else
by Nik
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |