|
|
| P is for Practical | |
| PerlMonks |
Answer: How do I determine encoding format of a file ? |
| ( #542602=categorized answer: print w/ replies, xml ) | Need Help?? |
|
Q&A > files > How do I determine encoding format of a file ? contributed by idsfa
File::BOM provides get_encoding_from_filehandle and get_encoding from_stream to identify the encoding of Unicode files. Example:
|
|
||||||||||||||||||