mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-10-06 00:30:10 -06:00
POP3: InetMessage fixes
git-svn-id: svn://ultimatepp.org/upp/trunk@7498 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
40344565f6
commit
ec2833c3c4
4 changed files with 4 additions and 4 deletions
|
|
@ -142,7 +142,7 @@ static const char default_mime[] = "application/octet-stream";
|
|||
String SmtpMail::Encode(const String& text)
|
||||
{
|
||||
String txt = ToCharset(CHARSET_UTF8, text);
|
||||
String r = "=?Utf-8?q?";
|
||||
String r = "=?UTF-8?Q?";
|
||||
for(const char *s = txt; *s; s++) {
|
||||
if((byte)*s < ' ' || (byte)*s > 127 || *s == '=' || *s == '?' || *s == ' ')
|
||||
r << '=' << FormatIntHexUpper((byte)*s, 2);
|
||||
|
|
|
|||
Loading…
Reference in a new issue