[Interest] Question about setting QLocale

Bo Thorsen bo at vikingsoft.eu
Tue Dec 1 14:33:58 CET 2015


Den 30-11-2015 kl. 18:43 skrev Murphy, Sean:
> I'm having an issue with multiple locales in my application and I'm
> trying to understand what the best fix should be. Our application is
> being used in two places right now: China & the US. One of the
> functions of the application is to log data samples to a csv file.
> Another function is to be able to load that log file back in later to
> look at the data.

I fix this problem by setting the locale temporarily to a known state 
before loading or saving files. This blog entry is about exactly this 
problem: http://www.vikingsoft.eu/blog/?p=21

I hope this helps,

Bo.

-- 
Viking Software
Qt and C++ developers for hire
http://www.vikingsoft.eu



More information about the Interest mailing list