On Tuesday 11 March 2008 09:42:15 Jonatan Liljedahl wrote: > Ok, I see.. Need I do it before each Compile() or could I just put it > right after initializing GTK? > > Should the Csound syntax really change depending on what locale setting > the user has? Sounds a bit strange imho. Functions like isalpha, isalnum, isdigit and the like change their behaivour under different locales. So this is not avoidable. There is one environment variable that controls this, but I can't remember which. I think it is LC_CTYPE, but I'm not sure. The translation initialization code should set this variable to C to avoid problems. -- Felipe Sateler