summaryrefslogtreecommitdiffstats
path: root/rfc2045/makemime.c
diff options
context:
space:
mode:
Diffstat (limited to 'rfc2045/makemime.c')
-rw-r--r--rfc2045/makemime.c3
1 files changed, 1 insertions, 2 deletions
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);
}
-