From 836fd5aab1a898d112d3deeae9bdd50da1aa3e63 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Sun, 7 Nov 2004 23:51:16 +0000 Subject: Use iana_charset rather than calling nl_langinfo(CODESET). svn path=/trunk/; revision=3981 --- sink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sink.c') 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); } -- cgit v1.2.3