From 6551a127b307eec1bf331a3cb31b8fdb0d4a0f92 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Wed, 28 Jul 2004 16:44:08 +0000 Subject: Changed the logic slightly to only match certain charsets if the locale 2004-07-26 Jeffrey Stedfast * camel-charset-map.c (camel_charset_best_mask): Changed the logic slightly to only match certain charsets if the locale matches (Macedonians don't want to use koi8-r for example). svn path=/trunk/; revision=26758 --- camel/ChangeLog | 12 +++++++++--- camel/camel-charset-map.c | 15 +++++++++++---- 2 files changed, 20 insertions(+), 7 deletions(-) (limited to 'camel') diff --git a/camel/ChangeLog b/camel/ChangeLog index 75068513a8..c07f3244cd 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,3 +1,9 @@ +2004-07-26 Jeffrey Stedfast + + * camel-charset-map.c (camel_charset_best_mask): Changed the logic + slightly to only match certain charsets if the locale matches + (Macedonians don't want to use koi8-r for example). + 2004-07-27 Not Zed ** See bug #61841. @@ -23,9 +29,9 @@ Fixes #61454 * providers/groupwise/camel-groupwise-provider.c - (camel_provider_module_init): do not set - transport object for groupwise provider. We want user to - use SMTP itself instead of "Novell Groupwise" + (camel_provider_module_init): do not set transport object for + groupwise provider. We want user to use SMTP itself instead of + "Novell Groupwise" 2004-07-26 Jeffrey Stedfast diff --git a/camel/camel-charset-map.c b/camel/camel-charset-map.c index 9bd4f4e253..dfa7b2402e 100644 --- a/camel/camel-charset-map.c +++ b/camel/camel-charset-map.c @@ -261,12 +261,19 @@ camel_charset_step (CamelCharset *c, const char *in, int len) static const char * camel_charset_best_mask(unsigned int mask) { + const char *locale_lang, *lang; int i; - - for (i=0;i