[email protected] пишет:
When I using xmlCfg unit i found problem with storing literals in
arbitrary code page. XMLCfg perform automatic conversion with omit some
chars.
I've change it to use utf8string instead of. Maybe this patch will be
interesting.

Such patch will make all existing config files with non-ascii data unreadable.
In the meantime, I wrote the xmlconf unit exactly to avoid this problem. So if you need Unicode configs, you should switch to xmlconf. Calls to Utf8Encode/Decode will be still necessary because xmlconf.TXMLConfig has WideString parameters, but it won't strip any non-ascii data.

Regards,
Sergei

_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to