anndata: Use proper output coding for all modes.
authorFredrik Tolf <fredrik@dolda2000.com>
Sun, 26 Sep 2010 14:38:01 +0000 (16:38 +0200)
committerFredrik Tolf <fredrik@dolda2000.com>
Sun, 26 Sep 2010 14:38:01 +0000 (16:38 +0200)
anndata

diff --git a/anndata b/anndata
index fcc2a29..5a91e5a 100755 (executable)
--- a/anndata
+++ b/anndata
@@ -3,6 +3,7 @@
 use Getopt::Long;
 use Anime::ANN;
 
+binmode STDOUT, ":utf8";
 GetOptions(\%options, "l=s", "b=s") || exit 1;
 
 if($options{"l"}) {
@@ -60,5 +61,4 @@ sub refdump
     }
 }
 
-binmode STDOUT, ":utf8";
 refdump $info;