+2005-01-21 Oliver Kiddle <okiddle@yahoo.co.uk>
+
+ * sbr/check_charset.c US-ASCII is a subset of UTF-8 so can be
+ handled directly when UTF-8 is being used
+
2004-12-17 Oliver Kiddle <okiddle@yahoo.co.uk>
* uip/mhmisc.c Fix -part option to mhshow/mhlist/mhstore to
mm_charset = "US-ASCII";
mm_len = strlen (mm_charset);
- /* US-ASCII is a subset of the ISO-8859-X character sets */
- if (!strncasecmp("ISO-8859-", mm_charset, 9)) {
+ /* US-ASCII is a subset of the ISO-8859-X and UTF-8 character sets */
+ if (!strncasecmp("ISO-8859-", mm_charset, 9) ||
+ !strcasecmp("UTF-8", mm_charset)) {
alt_charset = "US-ASCII";
alt_len = strlen (alt_charset);
}