in reply to UTF-8 text files with Byte Order Mark
while (my $line = <>) { $line =~ /^\x{FEFF}//; # strip BOM # rest }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: UTF-8 text files with Byte Order Mark
by muba (Priest) on Feb 13, 2007 at 20:21 UTC | |
by ikegami (Patriarch) on Feb 13, 2007 at 20:48 UTC | |
by muba (Priest) on Feb 13, 2007 at 21:01 UTC | |
by Anonymous Monk on Sep 30, 2011 at 18:30 UTC | |
by ikegami (Patriarch) on Oct 01, 2011 at 21:53 UTC | |
|