"be consistent" | |
PerlMonks |
Re: UTF-8 text files with Byte Order Markby Anonymous Monk |
on Dec 08, 2022 at 08:45 UTC ( [id://11148665]=note: print w/replies, xml ) | Need Help?? |
I agree that this should be done automatically if the UTF-8 IO layer is specified. The fact that UTF-8 files with a BOM are rare make this more important. I'm willing to bet that there are many Perl scripts out there that read UTF-8 files and that will break the first time they encounter a file with a BOM.
In Section
Seekers of Perl Wisdom
|
|