From 86064813d4f9880666450b86e02d9e93ee4231e9 Mon Sep 17 00:00:00 2001 From: Tatsuya Kinoshita Date: Fri, 13 May 2016 21:52:34 +0900 Subject: [PATCH] Fix incorrect encodings for ctdicconv.rb This fixes error of `make SKK-JISYO.china_taiwan` in skk/dic. cf. https://github.com/skk-dev/skktools/issues/9 --- convert2skk/ctdicconv.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/convert2skk/ctdicconv.rb b/convert2skk/ctdicconv.rb index 4ca0019..0520a95 100755 --- a/convert2skk/ctdicconv.rb +++ b/convert2skk/ctdicconv.rb @@ -29,7 +29,9 @@ # # Commentary: +Encoding.default_internal = "utf-8" Encoding.default_external = "euc-jis-2004" +STDOUT.set_encoding("euc-jis-2004", "utf-8") $ANNOTATION = true ##$ANNOTATION = false