fix for message display in UTF-8 locales (unintentionnaly removed in 0.8.6claws6
authorMelvin Hadasht <melvin.hadasht@free.fr>
Sun, 9 Mar 2003 14:44:49 +0000 (14:44 +0000)
committerMelvin Hadasht <melvin.hadasht@free.fr>
Sun, 9 Mar 2003 14:44:49 +0000 (14:44 +0000)
ChangeLog.claws
configure.ac
src/textview.c

index 7bbb423ad62003c3b2522fe5e0402e54f38a3321..4203a55731a2101fc3344156e43d741151d1db82 100644 (file)
@@ -1,3 +1,10 @@
+2003-03-09 [melvin]    0.8.10claws103
+
+       * src/textview.c
+               textview_set_font(): fix for message display in
+               UTF-8 locales (thanks to Sergey Vlasov).
+               (was unintentionnaly reverted in 0.8.6claws6)   
+
 2003-03-08 [darko]     0.8.10claws102
 
        * src/compose.c
index 82ea1fab0819f1edde2472aa58796a0316464f37..195ef00e8feb61f2d0681195ed736e5d42392578 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=8
 MICRO_VERSION=10
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws102
+EXTRA_VERSION=claws103
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
index f2ba57352e7e9e73f96273b033cb6cf5c785be66..babf654cdade8f8390dafe1c9a02990aa014f2c1 100644 (file)
@@ -1280,7 +1280,7 @@ void textview_set_font(TextView *textview, const gchar *codeset)
        /* In multi-byte mode, GtkSText can't display 8bit characters
           correctly, so it must be single-byte mode. */
        if (MB_CUR_MAX > 1) {
-               if (codeset) {
+               if (codeset && conv_get_current_charset() != C_UTF_8) {
                        if (!g_strncasecmp(codeset, "ISO-8859-", 9) ||
                            !g_strcasecmp(codeset, "BALTIC"))
                                use_fontset = FALSE;