But with fully using Finnish...

$ LANG=fi_FI.utf8 LC_TIME=fi_FI.utf8 gbx3 -e 'IsDate("2488329.65453707")'
False

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
>>>>
>>>
>>>
>>
>
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to