diff options
author | Christian Pointner <equinox@helsinki.at> | 2012-01-05 11:25:15 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2012-01-05 11:25:15 (GMT) |
commit | 27de4cd7b41779a5c1ec8643cb7210a1f6f8a34b (patch) | |
tree | 3e1e7176b8586289de19fc3a43ffa4ff9b034674 | |
parent | c7a3e88cd8cde901c966bd7707557fcfc68f1e5a (diff) |
rhimport utf-8 for stdin and stdout
git-svn-id: https://svn.helsinki.at/rhimport/trunk@108 7c65635b-ec39-4f67-a626-873dbafdd612
-rwxr-xr-x | rhimport | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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, |