mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2026-01-04 18:26:08 +01:00
TStrings.SaveToStream(TStream): use FEncoding as the default for IgnoreEncoding=False so that loaded files are correctly resaved
git-svn-id: trunk@43948 -
This commit is contained in:
parent
461a648f67
commit
77fecff30e
@ -1547,7 +1547,7 @@ Var
|
||||
begin
|
||||
if not IgnoreEncoding then
|
||||
begin
|
||||
SaveToStream(Stream,Nil);
|
||||
SaveToStream(Stream,FEncoding);
|
||||
Exit;
|
||||
end;
|
||||
NL:=GetLineBreakCharLBS;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user