[ardour-dev] Re: i18n serialization

Paul Davis paul at linuxaudiosystems.com
Thu Dec 2 04:41:49 PST 2004


  
  [ modifications ]

>the output is:
>
>LC_NUMERIC=da_DK ./is
>LC_NUMERIC=da_DK
>scanned value is 13,200000
>1234567,89
>printf gives 13,200000
>c++ iostreams says 13.2
>
>The decimal formatting is correct, but there is no digit grouping though 
>although the Danish locale definition in /usr/share/i18n/locales/da_DK 
>does indeed specify this.

note that the output of the larger floating point value works
correctly on my system with da_DK.

however, one important point here is that C++ iostreams *at this time*
does not obey i18n rules, at least not in the way that ardour uses
them. this is both good and bad.

i am continuing to try to get to the bottom of the i18n-related
problems.

--p





More information about the Ardour-Dev mailing list