File: 010_use_utf8_dictionary

package info (click to toggle)
libtext-mecab-perl 0.20016-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 384 kB
  • sloc: perl: 2,849; ansic: 579; makefile: 10
file content (18 lines) | stat: -rw-r--r-- 495 bytes parent folder | download | duplicates (4)
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(