1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
|
Description: set fallback encoding to utf-8
Origin: vendor
Forwarded: no
Author: Taku YASUI <tach@debian.org>
Reviewed-by: gregor herrmann <gregoa@debian.org>
Last-Update: 2014-01-10
--- a/tools/probe_mecab.pl
+++ b/tools/probe_mecab.pl
@@ -6,7 +6,7 @@
use ExtUtils::MakeMaker ();
# May specify encoding from ENV
-my $default_encoding = $ENV{PERL_TEXT_MECAB_ENCODING} || 'euc-jp';
+my $default_encoding = $ENV{PERL_TEXT_MECAB_ENCODING} || 'utf-8';
my $default_config;
if (! GetOptions(
|