summaryrefslogtreecommitdiff
path: root/korean/ami/files/patch-src_ami.c
blob: 60d6a703f37cb2929b32fe90a7a51ad1490f7629 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- src/ami.c.orig	Mon Feb 17 20:49:11 2003
+++ src/ami.c	Mon Feb 17 20:50:09 2003
@@ -403,13 +403,14 @@
     }
 
     codeset=nl_langinfo(CODESET);
-    if ( ! strcasecmp(codeset,"EUC-KR") ) 
+    if ( ! strcasecmp(codeset,"EUC") ||
+         ! strcasecmp(codeset,"eucKR") ) 
        ami_codeset=AMI_EUC;
     else if ( ! strcasecmp(codeset,"UTF-8") )
        ami_codeset=AMI_UTF8;
     else {
        g_print(_("The locale codeset is %s. It must be either "
-               "EUC-KR or UTF-8.\n Check your locale.\n"),
+               "eucKR or UTF-8.\n Check your locale.\n"),
                codeset);
        exit(1); 
     }