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 | a0b23f7c6189f941f12f0ef27dda7a7a4c930709 (patch) | |
tree | 3e1e7176b8586289de19fc3a43ffa4ff9b034674 | |
parent | 1f5c901cf93408f62d95598155a355e1b198591c (diff) |
rhimport utf-8 for stdin and stdout
-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, |