aboutsummaryrefslogtreecommitdiffstats
path: root/sink.c
diff options
context:
space:
mode:
Diffstat (limited to 'sink.c')
-rw-r--r--sink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sink.c b/sink.c
index 8939c8e9..662d0a7b 100644
--- a/sink.c
+++ b/sink.c
@@ -1539,7 +1539,7 @@ int open_warning_by_mail(struct query *ctl, struct msgblk *msg)
stuff_warning(NULL, ctl, "Date: %s", rfc822timestamp());
stuff_warning(NULL, ctl, "MIME-Version: 1.0");
stuff_warning(NULL, ctl, "Content-Transfer-Encoding: 8bit");
- stuff_warning(NULL, ctl, "Content-Type: text/plain; charset=\"%s\"", nl_langinfo(CODESET));
+ stuff_warning(NULL, ctl, "Content-Type: text/plain; charset=\"%s\"", iana_charset);
}
return(status);
}