From 27de4cd7b41779a5c1ec8643cb7210a1f6f8a34b 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 git-svn-id: https://svn.helsinki.at/rhimport/trunk@108 7c65635b-ec39-4f67-a626-873dbafdd612 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