]> diplodocus.org Git - nmh/blobdiff - uip/mhparse.c
Removed eom_action from m_getfld.c because it was only used by
[nmh] / uip / mhparse.c
index 6e16a5aa613b9ecd66a36d13c2f3daad56decc77..754146674fbe71f88ec7da757133d2956304ed61 100644 (file)
@@ -3851,8 +3851,12 @@ param_len(PM pm, int index, size_t valueoff, int *encode, int *cont,
         * add them now.
         */
 
-       if (! pm->pm_charset)
+       if (! pm->pm_charset) {
            pm->pm_charset = getcpy(write_charset_8bit());
+           if (strcasecmp(pm->pm_charset, "US-ASCII") == 0)
+               adios(NULL, "8-bit characters in parameter \"%s\", but "
+                     "local character set is US-ASCII", pm->pm_name);
+       }
        if (! pm->pm_lang)
            pm->pm_lang = getcpy(NULL); /* Default to a blank lang tag */