diff options
| author | Sam Varshavchik | 2017-09-19 20:20:30 -0400 | 
|---|---|---|
| committer | Sam Varshavchik | 2017-09-19 20:20:30 -0400 | 
| commit | 9dd2e13aa0e8e3c0068d28e73ffe0a8f8e76ea23 (patch) | |
| tree | 8a3e141caded03ea7978a9635cb65721d1d6e036 /rfc2045/rfc2045reply.c | |
| parent | ecda1daf86eda07e6d315fd2c7be41cf8a6a5781 (diff) | |
| download | courier-libs-9dd2e13aa0e8e3c0068d28e73ffe0a8f8e76ea23.tar.bz2 | |
Change default encoding character set to UTF-8.
Diffstat (limited to 'rfc2045/rfc2045reply.c')
| -rw-r--r-- | rfc2045/rfc2045reply.c | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/rfc2045/rfc2045reply.c b/rfc2045/rfc2045reply.c index da0d981..d145d06 100644 --- a/rfc2045/rfc2045reply.c +++ b/rfc2045/rfc2045reply.c @@ -780,7 +780,7 @@ static int mkforward(struct rfc2045_mkreplyinfo *ri)  				char *p=rfc2047_encode_str(ri->forwarddescr,  							   ri->charset ?  							   ri->charset -							   : "iso-8859-1", +							   : "utf-8",  							   rfc2047_qp_allow_any  							   ); @@ -1525,7 +1525,7 @@ static void copyheaders(struct rfc2045_mkreplyinfo *ri)  	char	*header, *value; -	writes(ri, "\nContent-Type: text/rfc822-headers; charset=\"iso-8859-1\"\n" +	writes(ri, "\nContent-Type: text/rfc822-headers; charset=\"utf-8\"\n"  	       "Content-Disposition: attachment\n"  	       "Content-Transfer-Encoding: 8bit\n\n"  	       ); | 
