Re: Unicode output with Test::More

2014-02-15 Thread Karen Etheridge
On Sat, Feb 15, 2014 at 04:22:59PM +0100, Olivier Mengué wrote: > Hi, > > I would like to use non-ASCII, non-Latin-1 characters in test script output. > > So far I've written the following: > > use Test::More; > use Term::Encoding 'term_encoding'; > my $enc = term_encoding(); > note $enc; # Ens

Re: Unicode output with Test::More

2014-02-15 Thread Mike Doherty
IIRC, Test::More::UTF8 does the right thing. -Mike On 14-02-15 11:22 AM, Olivier Mengué wrote: > Hi, > > I would like to use non-ASCII, non-Latin-1 characters in test script output. > > So far I've written the following: > > > use Test::More; > use Term::Encoding 'term_encoding'; > my $enc =

Unicode output with Test::More

2014-02-15 Thread Olivier Mengué
Hi, I would like to use non-ASCII, non-Latin-1 characters in test script output. So far I've written the following: use Test::More; use Term::Encoding 'term_encoding'; my $enc = term_encoding(); note $enc; # Ensure that builder->output is opened binmode($_, ":encoding($enc)") for Test::Mor