that does not explain anything - the problem is far from solved...
i'd rather see what is happening more precisely.. what are the LC_ and
LANG variabiles set to, etc etc...
bye
andraž
On pet, 2006-02-03 at 13:48 +0100, Paolo Rampino wrote:
> Localization problem with ubuntu 5.10 solved!
> In cinelerra/main.C
>
> If you want locale on breezy then you must change this line:
>
> // detect an UTF-8 locale and try to use a non-Unicode locale instead
> // <---Beginning of dirty hack
> // This hack will be removed as soon as Cinelerra is UTF-8 compliant
> - char *s, *language;
> +// char *s, *language;
>
> // Query user locale
> - if ((s = getenv("LC_ALL")) ||
> +// if ((s = getenv("LC_ALL")) ||
> - (s = getenv("LC_MESSAGES")) ||
> +// (s = getenv("LC_MESSAGES")) ||
> - (s = getenv("LC_CTYPE")) ||
> +// (s = getenv("LC_CTYPE")) ||
> - (s = getenv ("LANG")))
> +// (s = getenv ("LANG")))
> - {
> +// {
> // Test if user locale is set to Unicode
> - if (strstr(s, ".UTF-8"))
> +// if (strstr(s, ".UTF-8"))
> - {
> +// {
> // extract language from [EMAIL PROTECTED]
> - language = strtok (s, ".@");
> +// language = strtok (s, ".@");
> // set language as the default locale
> - setenv("LANG", language, 1);
> +// setenv("LANG", language, 1);
> - }
> +// }
> - }
> +// }
> // End of dirty hack --->
>
> enjoy!
>
>
> _______________________________________________
> Cinelerra mailing list
> [email protected]
> https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
_______________________________________________
Cinelerra mailing list
[email protected]
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra