From 8253b2559596a1b91343905210905e604de31f80 Mon Sep 17 00:00:00 2001 From: Hilko Bengen Date: Mon, 13 Jan 2014 23:33:32 +0100 Subject: [PATCH] Tweak STDOUT, STDERR instead of depending on utf8::all --- perl/t/130-special.t | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/perl/t/130-special.t b/perl/t/130-special.t index c25af7e..62b5787 100644 --- a/perl/t/130-special.t +++ b/perl/t/130-special.t @@ -2,7 +2,11 @@ use strict; use warnings; -use utf8::all; # so the strings in this file are interpreted correctly. +use utf8; # so the strings in this file are interpreted correctly. +BEGIN { + binmode STDOUT, ':encoding(UTF-8)'; + binmode STDERR, ':encoding(UTF-8)'; +} use Test::More; use Win::Hivex;