> 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 ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user