[Julius-cvs 912] CVS update: julius4/mkbingram

Back to archive index

sumom****@users***** sumom****@users*****
2013年 12月 25日 (水) 16:06:50 JST


Index: julius4/mkbingram/charconv.c
diff -u julius4/mkbingram/charconv.c:1.2 julius4/mkbingram/charconv.c:1.3
--- julius4/mkbingram/charconv.c:1.2	Fri Jun 21 02:14:27 2013
+++ julius4/mkbingram/charconv.c	Wed Dec 25 16:06:47 2013
@@ -42,7 +42,7 @@
       || strmatch(codestr, "euc")
       || strmatch(codestr, "eucjp")) {
     /* input = Shift_jis (codepage 932) */
-    *code = CODE_JPN_EUC;
+    *code = 20932;
   } else if (strmatch(codestr, "ansi")) {
     /* ANSI codepage (MBCS) ex. shift-jis in Windows XP Japanese edition.*/
     *code = CP_ACP;
@@ -102,11 +102,11 @@
 
 #if defined(_WIN32)
   if (str2code(fromcode, &from_cp) == -1) {
-    fpritnf(stderr, "Error: charconv_setup: unknown codepage specified\n");
+    fprintf(stderr, "Error: charconv_setup: unknown codepage specified\n");
     return -1;
   }
   if (str2code(tocode, &to_cp) == -1) {
-    fpritnf(stderr, "Error: charconv_setup: unknown codepage specified\n");
+    fprintf(stderr, "Error: charconv_setup: unknown codepage specified\n");
     return -1;
   }
 #else



Julius-cvs メーリングリストの案内
Back to archive index