I can confirm this finally fixed with latest revision. Jussi
On Sat, Apr 6, 2013 at 6:43 PM, Jussi Lahtinen <jussi.lahti...@gmail.com>wrote: > Raising up old issue... > Using xx_XX.utf8 or xx_XX.UTF-8 doesn't seem to make any difference. > > Gambas 3 rev 5607 @ Xubuntu 12.04 64 bit. > > Jussi > > > > On Tue, Oct 23, 2012 at 10:15 PM, Jussi Lahtinen <jussi.lahti...@gmail.com > > wrote: > >> $ LANG=fr_FR.utf8 LC_TIME=fi_FI.utf8 gbx3 -e 'IsDate("2488329.65453707")' >> True >> $ LANG=fr_FR.utf8 LC_TIME=en_US.utf8 gbx3 -e 'IsDate("2488329.65453707")' >> False >> >> Jussi >> >> >> >> >> On Tue, Oct 23, 2012 at 10:09 PM, Jussi Lahtinen < >> jussi.lahti...@gmail.com> wrote: >> >>> I have no clue how this can have effect on using France language package! >>> But to make clear, by problems I mean this command: >>> >>> >>> $ LANG=fr_FR.utf8 gbx3 -e 'IsDate("2488329.65453707")' >>> True >>> >>> So, fully using en_US.UTF-8, that command returns False. >>> >>> Jussi >>> >>> >>> >>> >>> On Tue, Oct 23, 2012 at 10:06 PM, Jussi Lahtinen < >>> jussi.lahti...@gmail.com> wrote: >>> >>>> OK. This problem may have started because I installed Finnish language >>>> package. >>>> >>>> If I change my language setup, problem vanishes. >>>> >>>> This setup doesn't cause problems: >>>> $ locale >>>> LANG=en_US.UTF-8 >>>> LANGUAGE=en >>>> LC_CTYPE="en_US.UTF-8" >>>> LC_NUMERIC=en_US.UTF-8 >>>> LC_TIME=en_US.UTF-8 >>>> LC_COLLATE="en_US.UTF-8" >>>> LC_MONETARY=en_US.UTF-8 >>>> LC_MESSAGES="en_US.UTF-8" >>>> LC_PAPER=en_US.UTF-8 >>>> LC_NAME=en_US.UTF-8 >>>> LC_ADDRESS=en_US.UTF-8 >>>> LC_TELEPHONE=en_US.UTF-8 >>>> LC_MEASUREMENT=en_US.UTF-8 >>>> LC_IDENTIFICATION=en_US.UTF-8 >>>> LC_ALL= >>>> >>>> >>>> This setup do cause problems: >>>> $ locale >>>> LANG=en_US.UTF-8 >>>> LANGUAGE=en >>>> LC_CTYPE="en_US.UTF-8" >>>> LC_NUMERIC=fi_FI.UTF-8 >>>> LC_TIME=fi_FI.UTF-8 >>>> LC_COLLATE="en_US.UTF-8" >>>> LC_MONETARY=fi_FI.UTF-8 >>>> LC_MESSAGES="en_US.UTF-8" >>>> LC_PAPER=fi_FI.UTF-8 >>>> LC_NAME=fi_FI.UTF-8 >>>> LC_ADDRESS=fi_FI.UTF-8 >>>> LC_TELEPHONE=fi_FI.UTF-8 >>>> LC_MEASUREMENT=fi_FI.UTF-8 >>>> LC_IDENTIFICATION=fi_FI.UTF-8 >>>> LC_ALL= >>>> >>>> >>>> Jussi >>>> >>>> >>>> >>>> >>>> >>>> On Tue, Oct 23, 2012 at 9:43 PM, Jussi Lahtinen < >>>> jussi.lahti...@gmail.com> wrote: >>>> >>>>> >>>>> Note that "fr_FR.utf8" is not a valid value for $LANG on my Ubuntu. It >>>>>> should be "fr_FR.UTF-8". I can't say more at the moment. >>>>>> >>>>> >>>>> It seems to be valid. Translations tests I have made accept that >>>>> perfectly well. >>>>> >>>>> >>>>> $ LANG=fr_FR.utf8 gbx3 -e 'IsDate("2488329.65453707")' >>>>> True >>>>> $ LANG=fr_FR.UTF-8 gbx3 -e 'IsDate("2488329.65453707")' >>>>> True >>>>> $ LANG=invalid gbx3 -e 'IsDate("2488329.65453707")' >>>>> gbx3: warning: cannot switch to language 'invalid'. Did you install >>>>> the corresponding locale packages? >>>>> False >>>>> >>>>> >>>>> Jussi >>>>> >>>> >>>> >>> >> > ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user