in reply to Can Perl convert ISO-? | WIN-? | MAC-? to UTF-8?
#!/usr/bin/perl -l use strict; use warnings; use String::BOM qw(strip_bom_from_file); my $file = '/path/to/file'; print strip_bom_from_file($file);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Can Perl convert ISO-? | WIN-? | MAC-? to UTF-8?
by taint (Chaplain) on May 23, 2013 at 06:26 UTC | |
| |
|
Re^2: Can Perl convert ISO-? | WIN-? | MAC-? to UTF-8?
by Anonymous Monk on May 23, 2013 at 06:30 UTC |