summaryrefslogtreecommitdiffstats
path: root/rfc2045/makemime.c
diff options
context:
space:
mode:
authorSam Varshavchik2017-09-19 20:20:30 -0400
committerSam Varshavchik2017-09-19 20:20:30 -0400
commit9dd2e13aa0e8e3c0068d28e73ffe0a8f8e76ea23 (patch)
tree8a3e141caded03ea7978a9635cb65721d1d6e036 /rfc2045/makemime.c
parentecda1daf86eda07e6d315fd2c7be41cf8a6a5781 (diff)
downloadcourier-libs-9dd2e13aa0e8e3c0068d28e73ffe0a8f8e76ea23.tar.bz2
Change default encoding character set to UTF-8.
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);
}
-