Arno Garrels wrote:
> Here's the INI file that does not work with your code for me.
>
>   
It appears the OS API code is not reading the 3 UTF8 BOM bytes correctly
if there are only 3 byte before the section name. Probably a bug in the
API, or a text files requirement, BOM always terminated by EOL?
An empty line,or comment line, before the section start, fix the issue.
For note, when the INI file is created by my class code, the API alway
add an empty line after the BOM.

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to