aboutsummaryrefslogtreecommitdiff
path: root/japanese/groff/files/patch-src:libs:libgroff:encoding.cc
blob: 4318fd07edc7e2e0b801e744b08c7082cec87603 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- src/libs/libgroff/encoding.cc.bak	Wed Sep 10 03:45:14 2003
+++ src/libs/libgroff/encoding.cc	Wed Sep 10 11:31:11 2003
@@ -382,6 +382,9 @@
 #if HAVE_LANGINFO_CODESET
   charset = nl_langinfo(CODESET);
 #else
+  if (strcmp(locale, "ja_JP.EUC") == 0) {
+    locale = "ja_JP.eucJP";
+  }
   charset = strchr(locale, '.');
   if (charset)
     ++charset;