i am trying to compile an app on a spanish system (ubuntu 9.10 ) and it seems all my xml files are outputting float values with commas instead of decimal points (euro-style)… reading the xml back in to use the data doesn’t work properly (replacing the , by hand to . fixes it)… does anyone know if this is a compiler setting, tinyxml setting or something else?
I know this isn’t a full answer, but I think you need to investigate c++ locales –
I hope this helps! please let me know if something works out for you (besides changing the text).
i had to solve this some time ago and then lost the code, i modified xmlSettings so when saving/loading floats it replaces every , by a .
also if you’re on ubuntu a simple solution is to do this before running the app or even before running codeblocks:
I wonder if this would be the same thing then ?
haven’t tested but it seems so, and better than using a system environment variable