Forced wmlxgettext to use utf8 instead of the current locale.

(Fix for bug #17068, patch by Gabor Udvari.)
This commit is contained in:
Guillaume Melquiond 2010-12-20 07:06:50 +00:00
parent 4d5e92f5d0
commit 4028293906

View file

@ -8,6 +8,11 @@ use File::Basename;
use POSIX qw(strftime);
use Getopt::Long;
# use utf8 for stdout and file reading
use utf8;
use open IO => ':utf8';
binmode(STDOUT, ':utf8');
our $toplevel = '.';
our $initialdomain = 'wesnoth';
our $domain = undef;