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