<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Am 02.01.2020 um 00:51 schrieb Ondrej
Pokorny:<br>
</div>
<blockquote type="cite"
cite="mid:b43bcd8a-02d1-aef5-d190-61fe67dcb035@kluug.net">The
WriteBOM property has a valid purpose - it is set in LoadFrom*
according to the BOM presence in the loaded file. I.e. if you do:
<br>
<br>
MyStrings.LoadFromFile('abc'); // WriteBOM and Encoding properties
are set here
<br>
MyStrings.SaveToFile('abc'); // they are used here to save the
file as it was loaded
<br>
</blockquote>
Maybe I am blind here, but our TStrings.LoadFrom* methods do NOT
seem to modify the WriteBOM property - otherwise I would not have
posted. Why would it be called <b>Write</b>BOM if it were also for
reading?<br>
</body>
</html>