You can use File::BOM to determine the encoding of a file:
open $fh, '<', 'd:\input.txt' or die 'Could not open file'; $encoding = get_encoding_from_filehandle($fh);
In reply to Re: help neeed in identifying file encoding
by idsfa
in thread help neeed in identifying file encoding
by uva
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |