[fpc-pascal] TJSONboolean and locale settings
Graeme Geldenhuys
mailinglists at geldenhuys.co.uk
Fri May 13 15:32:13 CEST 2016
Hi,
Is TJSONboolean, and it’s internal BoolToStr(AValue, True) and
StrToBool() calls, affected by locale settings?
For example:
My locale is en_GB and I store a Boolean (True) value to a JSON file,
which results in a string value “True”. If I now read that JSON file on
a system with locale af_ZA (Afrikaans, or any other non-English language
for that matter) - would it still work?
Regards,
Graeme
More information about the fpc-pascal
mailing list