From 9dd2e13aa0e8e3c0068d28e73ffe0a8f8e76ea23 Mon Sep 17 00:00:00 2001 From: Sam Varshavchik Date: Tue, 19 Sep 2017 20:20:30 -0400 Subject: Change default encoding character set to UTF-8. --- rfc2045/makemime.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'rfc2045/makemime.c') diff --git a/rfc2045/makemime.c b/rfc2045/makemime.c index e535556..89d8dbc 100644 --- a/rfc2045/makemime.c +++ b/rfc2045/makemime.c @@ -762,7 +762,7 @@ const char *orig_charset=m->textplaincharset; if (m->contentname && *m->contentname) { const char *chset=m->textplaincharset ? m->textplaincharset - : "iso-8859-1"; + : "utf-8"; rfc2231_attrCreate("name", m->contentname, chset, NULL, do_printRfc2231Attr, m); @@ -1108,4 +1108,3 @@ static void opencreatemultipartmime(struct mimestruct *m) m->inputfp1=openfile_or_pipe(m->inputfile1, "r"); openoutput(m); } - -- cgit v1.2.3