[Scummvm-devel] setlocale() doesn't work at Symbian
Willem Jan Palenstijn
wjp at usecode.org
Tue Feb 17 13:13:21 CET 2015
On Tue, Feb 17, 2015 at 02:08:44PM +0300, Fiodar Strizhniou wrote:
> I write simple application and run on phone:
> printf("Locale is: %s\n", setlocale(LC_ALL, "en_GB"));
> Locale is NULL
> Which parts (decimal separators, etc) should be set? Which values from setlocale() used?
Why do you ask?
In ScummVM you should just use the default "C" locale.
Our SDL backend uses the system locale to try to determine the user's language,
but sets it back to "C" immediately afterwards.
-Willem Jan
More information about the Scummvm-devel
mailing list