[Gambas-user] error in documentation
Benoît Minisini
gambas at ...1...
Sun Nov 29 21:55:15 CET 2009
> 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,
--
Benoît Minisini
More information about the User
mailing list