>> 2) if BOM is there, allow ReadString to find section at the file begin:

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.

--
Regards,
Alexey

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to