mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-18 13:49:12 +02:00
TStrings: default options:
* remove soWriteBOM for FPC backwards compatibility * add soPreserveBOM so that a loaded file is correctly resaved git-svn-id: trunk@43947 -
This commit is contained in:
parent
c3f8b7c914
commit
461a648f67
@ -1024,7 +1024,7 @@ begin
|
|||||||
inherited Create;
|
inherited Create;
|
||||||
FDefaultEncoding:=TEncoding.Default;
|
FDefaultEncoding:=TEncoding.Default;
|
||||||
FEncoding:=nil;
|
FEncoding:=nil;
|
||||||
FOptions := [soWriteBOM,soTrailingLineBreak,soUseLocale];
|
FOptions := [soTrailingLineBreak,soUseLocale,soPreserveBOM];
|
||||||
FAlwaysQuote:=False;
|
FAlwaysQuote:=False;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user