Arno Garrels wrote:
>> function TMyUnicodeIniFile.ReadString(const Section, Ident, Default:
>> string): string;
>> begin
>>  result := inherited;
>>  if fIsUTF8 then
>>    result := utf8decode(result)
>> end;
> 
> As I wrote in my previous message, this does not work for me.
> Whenever Windows finds an UTF-8 BOM it does not return a single byte.

My fault, now it works. But it won't be the same level of backwards
compatibility that can be achieved with a class derived from TCustomIniFile.

--
Arno

 
-- 
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