<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>>> 2) if BOM is there, allow ReadString to find section at
the file begin:
</p>
<pre>>I can read/write IniFiles with BOM with fpc r43847, with and withoud DefautSystemCodePage := CP_UTF8.
Sorry, my mistake-- TIniFile can read this BOM file, but my software cannot:
a) I've fixed one place where my app reads ini files via TextFile.
b) I canNOT fix another place where PYTHON library reads ini file (Python has module for ini files).
c) So yes, I want to disable BOM writing at all.
</pre>
<pre class="moz-signature" cols="72">--
Regards,
Alexey</pre>
</body>
</html>