[Gambas-user] error in documentation
Matti
math.eber at ...221...
Mon Nov 30 20:43:32 CET 2009
Ah, I understand. Thanks.
But this info in the doc would help beginners like me.
Matti
Benoît Minisini schrieb:
>> I think there is an error in
>> http://gambasdoc.org/help/doc/locale
>>
>> About the charset it says:
>> "All characters that follows the xx_YY string are ignored by Gambas."
>>
>> I had a big problem when I tried to run my prog in English, because with
>> "en_GB" or "en_US" a wrong charset was loaded. One runtime error after the
>> other with filenames that contained non-ASCII characters.
>>
>> After searching and reading a long time, I didn't know what to do and
>> finally just tried the environment variable LANG = "en_GB.UTF-8" - and,
>> voila, now it works wonderful! Gambas doesn't ignore this.
>>
>> Matti
>>
>
> To be more precise: all characters that follows the xx_YY string are actually
> ignored by Gambas, but not by the system library. The system library uses the
> full $LANG, $LANGUAGE and $LC_* environment variables to decide which language
> and which charset to use. Gambas uses just the xx_YY part to find the
> translation file to use.
>
> Regards,
>
More information about the User
mailing list