http://en.wikipedia.org/wiki/Byte_order_mark
While Unicode standard allows BOM in UTF-8 [2], it does not require or recommend it[ Peter On Tue, 2010-07-06 at 12:33 +0300, Shlomi Fish wrote: > Hi Meir, > > On Monday 05 Jul 2010 18:55:16 Meir Guttman wrote: > > Dear Shlomi, > > > > > > > > I am using your Config-IniFiles-2.58 module for quite some time now, but so > > far in a very rudimentary way, just for scalars, just for reading, etc. > > OK. > > > > > Yesterday I discovered a shortcoming of the package: It cannot read a UTF-8 > > file with a BOM marker. It aborts and dies. I had to resave it without a > > BOM for it to work. IMHO, this should be corrected. > > Please file this as a bug on the Config-IniFiles RT queue: > > https://rt.cpan.org/Public/Dist/Display.html?Name=Config-IniFiles > > Please give a testcase where it fails. (And naturally, a patch including > tests > would be ideal). > > BTW, I didn't realise UTF-8 needed a BOM. Can you elaborate on it? I'll try > to > wikipedia it. > > > > > (As a sideline, when all else failed and $! Messages were puzzling, I did > > RTFM. There of course I found the @Config::IniFiles::errors. But this is > > another story!) > > OK. > > Regards, > > Shlomi Fish > _______________________________________________ Perl mailing list Perl@perl.org.il http://mail.perl.org.il/mailman/listinfo/perl