blob: 1ecaedf65028e5e6b27e4ab78769d865a3b974b9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
$NetBSD: patch-migemo-convert.rb,v 1.1 2012/08/12 11:52:26 obache Exp $
--- migemo-convert.rb.orig 2003-05-26 06:55:22.000000000 +0000
+++ migemo-convert.rb
@@ -1,3 +1,4 @@
+#coding: euc-jp
#
# Ruby/Migemo - a library for Japanese incremental search.
#
@@ -14,12 +15,12 @@
#
# Convert a SKK's dictionary into Migemo's.
#
-$KCODE= "e"
require 'romkan'
HIRAGANA = "[¤¡-¤ó¡¼¡Á]"
KANJI = "[°¡-ô¤]"
+$stdin.set_encoding(Encoding::EUC_JP)
puts ";;"
puts ";; This is Migemo's dictionary generated from SKK's."
puts ";;"
|