mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 20:09:25 +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;
|
||||
FDefaultEncoding:=TEncoding.Default;
|
||||
FEncoding:=nil;
|
||||
FOptions := [soWriteBOM,soTrailingLineBreak,soUseLocale];
|
||||
FOptions := [soTrailingLineBreak,soUseLocale,soPreserveBOM];
|
||||
FAlwaysQuote:=False;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user