vic has asked for the wisdom of the Perl Monks concerning the following question:

previously I dealing with a file written in UTF-8 which is stored in window, but I found the first line the will have this nasty u+FEFF at the beginning of the line.

I googled it and it is the "utf-8 signature" added by most of the window text editor. Seems perl did nothing for this, do I need to kill this character (and other BOM character) every time I read a utf-8 file?

  • Comment on will perl do anything with u+FEFF (or other unicode BOM) in the beginning of the file?

Replies are listed 'Best First'.
Re: will perl do anything with u+FEFF (or other unicode BOM) in the beginning of the file?
by Anonymous Monk on Feb 22, 2008 at 05:38 UTC
Re: will perl do anything with u+FEFF (or other unicode BOM) in the beginning of the file?
by Anonymous Monk on Feb 22, 2008 at 05:38 UTC