Changed defaults for MIME part. (8-bit encoding as default and current system charset as default encoding.)
git-svn-id: https://svn.code.sf.net/p/synalist/code/trunk@87 7c85be65-684b-0410-a082-b2ed4fbef004
This commit is contained in:
parent
6063a8b0d5
commit
914cb1d0c8
13
mimepart.pas
13
mimepart.pas
@ -1,9 +1,9 @@
|
|||||||
{==============================================================================|
|
{==============================================================================|
|
||||||
| Project : Ararat Synapse | 002.007.008 |
|
| Project : Ararat Synapse | 002.007.009 |
|
||||||
|==============================================================================|
|
|==============================================================================|
|
||||||
| Content: MIME support procedures and functions |
|
| Content: MIME support procedures and functions |
|
||||||
|==============================================================================|
|
|==============================================================================|
|
||||||
| Copyright (c)1999-2007, Lukas Gebauer |
|
| Copyright (c)1999-2008, Lukas Gebauer |
|
||||||
| All rights reserved. |
|
| All rights reserved. |
|
||||||
| |
|
| |
|
||||||
| Redistribution and use in source and binary forms, with or without |
|
| Redistribution and use in source and binary forms, with or without |
|
||||||
@ -33,7 +33,7 @@
|
|||||||
| DAMAGE. |
|
| DAMAGE. |
|
||||||
|==============================================================================|
|
|==============================================================================|
|
||||||
| The Initial Developer of the Original Code is Lukas Gebauer (Czech Republic).|
|
| The Initial Developer of the Original Code is Lukas Gebauer (Czech Republic).|
|
||||||
| Portions created by Lukas Gebauer are Copyright (c)2000-2007. |
|
| Portions created by Lukas Gebauer are Copyright (c)2000-2008. |
|
||||||
| All Rights Reserved. |
|
| All Rights Reserved. |
|
||||||
|==============================================================================|
|
|==============================================================================|
|
||||||
| Contributor(s): |
|
| Contributor(s): |
|
||||||
@ -397,7 +397,9 @@ begin
|
|||||||
FDecodedLines := TMemoryStream.Create;
|
FDecodedLines := TMemoryStream.Create;
|
||||||
FSubParts := TList.Create;
|
FSubParts := TList.Create;
|
||||||
FTargetCharset := GetCurCP;
|
FTargetCharset := GetCurCP;
|
||||||
FDefaultCharset := 'US-ASCII';
|
//was 'US-ASCII' before, but RFC-ignorant Outlook sometimes using default
|
||||||
|
//system charset instead.
|
||||||
|
FDefaultCharset := GetIDFromCP(GetCurCP);
|
||||||
FMaxLineLength := 78;
|
FMaxLineLength := 78;
|
||||||
FSubLevel := 0;
|
FSubLevel := 0;
|
||||||
FMaxSubLevel := -1;
|
FMaxSubLevel := -1;
|
||||||
@ -798,7 +800,8 @@ begin
|
|||||||
FDescription := '';
|
FDescription := '';
|
||||||
Charset := FDefaultCharset;
|
Charset := FDefaultCharset;
|
||||||
FFileName := '';
|
FFileName := '';
|
||||||
Encoding := '7BIT';
|
//was 7bit before, but this is more compatible with RFC-ignorant outlook
|
||||||
|
Encoding := '8BIT';
|
||||||
FDisposition := '';
|
FDisposition := '';
|
||||||
FContentID := '';
|
FContentID := '';
|
||||||
fn := '';
|
fn := '';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user