From f6408daa103092f18789a719a4123224b259f71f Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Tue, 18 Dec 2001 01:28:27 +0000 Subject: New function to map ISO charsets to the Windows charsets. 2001-12-17 Jeffrey Stedfast * camel-charset-map.c (camel_charset_iso_to_windows): New function to map ISO charsets to the Windows charsets. * camel-mime-part-utils.c (broken_windows_charset): Detect Windows charsets. (simple_data_wrapper_construct_from_parser): Simplify a tad and also check for iso-8859-* charsets that are really Windows charsets. Fixes bug #12631. svn path=/trunk/; revision=15144 --- camel/camel-charset-map.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'camel/camel-charset-map.h') diff --git a/camel/camel-charset-map.h b/camel/camel-charset-map.h index 7c7022c0a1..0cae1916a6 100644 --- a/camel/camel-charset-map.h +++ b/camel/camel-charset-map.h @@ -37,4 +37,6 @@ const char *camel_charset_best_name(CamelCharset *); /* helper function */ const char *camel_charset_best(const char *in, int len); +const char *camel_charset_iso_to_windows (const char *isocharset); + #endif /* ! _CAMEL_CHARSET_MAP_H */ -- cgit v1.2.3