RE: Locale definitions, dots and commas





On Wed, Mar 12, 2008 at 6:09 PM, Carlos Pereira
<jose carlos pereira ist utl pt> wrote:

 If I use gtk_disable_setlocale, then dots are always used, but that does
 not seem quite right... basically I am ignoring user's preference for
 commas...


Well For what little it is worth, when I had this issue I some sort of string on the first line of the file telling me the format

<encoding decimalChar="."/>

I guess one could also put the local where the file was created on the first like and then set that local before loading the rest of the file ..

<LOCALE>french</LOCALE>

... or not
--
Eric Hegstrom
Agave Systems, LLC
http://www.agavesys.com



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]