Problems? Is your data what you think it is? | |
PerlMonks |
creating empty utf8 fileby Anonymous Monk |
on Apr 12, 2006 at 09:34 UTC ( [id://542784]=perlquestion: print w/replies, xml ) | Need Help?? |
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
hai monks,
I tried with File::BOM , inorder to create the utf8 file with BOM is automatically written in that file.
The BOM is written as part of the first print command on the handle, so if you don't print anything to the handle, you won't get a BOM.
But i want to create an empty utf8 file with BOM ,
Is there any way to create the BOM other than doing it manually
How to create empty file with BOM??
Back to
Seekers of Perl Wisdom
|
|