* src/codeconv.c
[claws.git] / src / codeconv.c
index 6457824816edca8c760fbf50ad2da24540f3eae9..566efdda66c98083fac7b7b1bbccaddd4fad32d9 100644 (file)
@@ -375,7 +375,7 @@ gchar *conv_codeset_strdup(const gchar *inbuf,
            == 0)
                return buf;
        else
-               return NULL;
+               return g_strdup(inbuf);
 #else /* !HAVE_LIBJCONV */
        if (src_codeset) {
                if (!strcasecmp(src_codeset, CS_EUC_JP) ||
@@ -528,7 +528,10 @@ static const struct {
        {"el_GR"        , C_ISO_8859_7},
        {"iw_IL"        , C_ISO_8859_8},
        {"tr_TR"        , C_ISO_8859_9},
-       {"th_TH"        , C_ISO_8859_11},
+
+       {"th_TH"        , C_TIS_620},
+       /* {"th_TH"     , C_WINDOWS_874}, */
+       /* {"th_TH"     , C_ISO_8859_11}, */
 
        {"lt_LT.iso88594"       , C_ISO_8859_4},
        {"lt_LT.ISO8859-4"      , C_ISO_8859_4},