Forced wmlxgettext to use utf8 instead of the current locale.
(Fix for bug #17068, patch by Gabor Udvari.)
This commit is contained in:
parent
4d5e92f5d0
commit
4028293906
1 changed files with 5 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue