in reply to What one-liners do people actually use?
I sometimes pipe stuff through the following one liner for utf8 conversion:
cat my_file | perl -e 'use Encode "from_to"; while (<>) {my $s = $_; f +rom_to($s,"iso-8859-1","utf8"); print $s}'
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: What one-liners do people actually use?
by BrowserUk (Patriarch) on Dec 09, 2005 at 07:20 UTC | |
Re^2: What one-liners do people actually use?
by Your Mother (Archbishop) on Dec 09, 2005 at 07:09 UTC |
In Section
Seekers of Perl Wisdom