in reply to Composite Charset Data to UTF8?
Encode::StdIO is what you're looking for. For example:
Your STDOUT and STDERR will automatically be encoded in utf8.#!/usr/bin/perl use strict; use warnings; use Encode::StdIO encoding => 'utf-8';
Also, note that the author recommends Term::Encoding, so I would install that first, then Encode::StdIO.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Composite Charset Data to UTF8?
by AlexTape (Monk) on Jun 19, 2013 at 11:56 UTC | |
by Corion (Patriarch) on Jun 19, 2013 at 12:07 UTC |
In Section
Seekers of Perl Wisdom