Fix for ISO-8859-* encodings with libjconv.
authorSergey Vlasov <vsu@users.sourceforge.net>
Wed, 23 May 2001 16:01:04 +0000 (16:01 +0000)
committerSergey Vlasov <vsu@users.sourceforge.net>
Wed, 23 May 2001 16:01:04 +0000 (16:01 +0000)
ChangeLog.claws
src/codeconv.c

index c52f8f7..62e48f7 100644 (file)
@@ -1,3 +1,8 @@
+2001-05-23 [sergey]
+
+       * src/codeconv.c (conv_get_code_conv_func): fix for ISO-8859-*
+       encodings with libjconv.
+
 2001-05-23 [hoa]
 
        * src/Makefile.am
index f822a3d..d6f665e 100644 (file)
@@ -414,8 +414,10 @@ CodeConvFunc conv_get_code_conv_func(const gchar *charset)
                code_conv = conv_jistodisp;
        else if (!strcasecmp(charset, CS_US_ASCII))
                code_conv = conv_ustodisp;
+#if !HAVE_LIBJCONV
        else if (!strncasecmp(charset, "ISO-8859-", 9))
                code_conv = conv_latintodisp;
+#endif /* !HAVE_LIBJCONV */
        else if (!strcasecmp(charset, CS_SHIFT_JIS) ||
                 !strcasecmp(charset, "SHIFT-JIS")  ||
                 !strcasecmp(charset, "SJIS")       ||