From a0b23f7c6189f941f12f0ef27dda7a7a4c930709 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Thu, 5 Jan 2012 11:25:15 +0000 Subject: rhimport utf-8 for stdin and stdout diff --git a/rhimport b/rhimport index 1978aa1..f3b9e35 100755 --- a/rhimport +++ b/rhimport @@ -43,6 +43,10 @@ my $KEEPCARTS = 0; my $DROPBOX = ""; my $LISTALLOWED = 0; +binmode(STDIN, ":utf8"); +binmode(STDOUT, ":utf8"); +binmode(STDERR, ":utf8"); + GetOptions ("help!" => \$HELP, "file=s" => \$FILE, "pool!" => \$POOL, -- cgit v0.10.2