perl-unicode

Dodging BOMs

2000-04-27 08:36:40

       Whether or not it is a Good Thing to start a file with a BOM in
       UTF8, there is a problem if you do:

       Unrecognized character \xEF at test.pl line 1.

       I assume this problem could be stated for any whitespace
       character. The particular problem is that this character occurs
       before you can insert a filter.

       Any advice? Should Perl ignore a UTF8 BOM on its own?

       Martin Hosken

<Prev in Thread] Current Thread [Next in Thread>