]> diplodocus.org Git - nmh/blobdiff - uip/mhbuild.c
Specify that mhbuild -autoheaderencoding picks either base64 or q-p,
[nmh] / uip / mhbuild.c
index 8684c70fd116bf4e6073051d25cf018b3c2b0905..87252a7cfa1b23e01d98e16d80d2eac5bde3dce8 100644 (file)
@@ -56,11 +56,11 @@ DEFINE_SWITCH_ENUM(MHBUILD);
 DEFINE_SWITCH_ARRAY(MHBUILD, switches);
 #undef X
 
-/* 8bit is Email Address Internationalization. */
+/* utf-8 is for Email Address Internationalization, using SMTPUTF8. */
 #define MIMEENCODING_SWITCHES \
     X("base64", 0, BASE64SW) \
     X("quoted-printable", 0, QUOTEDPRINTSW) \
-    X("8bit", 0, EIGHTBITSW) \
+    X("utf-8", 0, UTF8SW) \
 
 #define X(sw, minchars, id) id,
 DEFINE_SWITCH_ENUM(MIMEENCODING);
@@ -246,7 +246,7 @@ main (int argc, char **argv)
                case QUOTEDPRINTSW:
                    header_encoding = CE_QUOTED;
                    break;
-               case EIGHTBITSW:
+               case UTF8SW:
                    header_encoding = CE_8BIT;
                    break;
                default: