in reply to Re: Reading File with Czech text insidein thread Reading File with Czech text inside
If the file is encoded using iso-8859-2 (like file_iso-8859-2.txt above),
open my $FH, "<:encoding(iso-8859-2)", 'file_iso-8859-2.txt' or die "$!\n"; [download]
If the file is encoded using UTF-8 (like file_utf-8.txt above),
open my $FH, "<:encoding(UTF-8)", 'file_utf-8.txt' or die "$!\n"; [download]