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 /libmail/nntp.C | |
| parent | ecda1daf86eda07e6d315fd2c7be41cf8a6a5781 (diff) | |
| download | courier-libs-9dd2e13aa0e8e3c0068d28e73ffe0a8f8e76ea23.tar.bz2 | |
Change default encoding character set to UTF-8.
Diffstat (limited to 'libmail/nntp.C')
| -rw-r--r-- | libmail/nntp.C | 10 | 
1 files changed, 5 insertions, 5 deletions
| diff --git a/libmail/nntp.C b/libmail/nntp.C index 3f7d92d..0ef8203 100644 --- a/libmail/nntp.C +++ b/libmail/nntp.C @@ -761,7 +761,7 @@ bool mail::nntp::fixGenericMessageNumber(std::string uid, size_t &msgNum)  		}  		--msgNum;  	} -			 +  	while (n > index[msgNum].msgNum)  		if (++msgNum >= cnt)  		{ @@ -1135,8 +1135,8 @@ void mail::nntp::searchMessages(const searchParams &searchInfo,  				char *p;  				size_t psize; -				h=unicode_convert_fromu_init("iso-8859-1", -							       &p, &psize, 1); +				h=unicode_convert_fromu_init("utf-8", +							     &p, &psize, 1);  				if (h)  				{ @@ -1314,7 +1314,7 @@ bool mail::nntp::genericCachedUid(string uid)  {  	return genericTmpFp && uid == cachedUid;  } -	 +  void mail::nntp::genericGetMessageStruct(string uid,  					 size_t messageNumber,  					 struct rfc2045 *&structRet, @@ -1395,7 +1395,7 @@ void mail::nntp::Task::done()  			throw;  		} -		 +  		myserver=NULL;  		delete this;  	} | 
