diff options
author | bojar <bojar@1f5c12ca-751b-0410-a591-d2e778427230> | 2006-08-13 06:44:28 +0400 |
---|---|---|
committer | bojar <bojar@1f5c12ca-751b-0410-a591-d2e778427230> | 2006-08-13 06:44:28 +0400 |
commit | f2468454891d50e6a1b73a4cfd35ca0b42656c15 (patch) | |
tree | 0079370ba88b1aeb290f8eac905a1a644ec975e2 /scripts | |
parent | d2be43a20f27adc2e1d895bb30157f953d7075a1 (diff) |
utf8 output
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@686 1f5c12ca-751b-0410-a591-d2e778427230
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/analysis/nontranslated_words.pl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/analysis/nontranslated_words.pl b/scripts/analysis/nontranslated_words.pl index c40704712..687eaae20 100755 --- a/scripts/analysis/nontranslated_words.pl +++ b/scripts/analysis/nontranslated_words.pl @@ -32,6 +32,9 @@ Options: exit 1; } +binmode(STDOUT, ":utf8"); +binmode(STDERR, ":utf8"); + open SRC, $src or die "Can't read $src"; open TGT, $tgt or die "Can't read $tgt"; binmode(SRC, ":utf8"); |