| I really don't know. As I said I don't think it is a
locale problem. Could you try the same CSD with a minimal Java program,
that just compiles and performs the code (like the command-line C one)?
Then you could let us know; if the problem is there we can try to use
your program to find it.
As we have not seen this bug anywhere else, we will have to try and
trace it like that.
Victor
----- Original Message -----
From: "Jean-Pierre Lemoine"
To:
Sent: Monday, March 17, 2008 11:20 PM
Subject: [Csnd] Re: Re: 5.08 java and setLocale
> Thanks Victor for helping.
> I have tried this in Java Locale.setDefault( new Locale( "LC_ALL",
> "C" ) );
> No effect.
> This is a nasty regression from 5.07.
> The csd file generated by the Java program is working fine when using
> csound from a command prompt, but not when using the csound api.
> Why this "behaviour" in 5.08?
>
> jp
>
> victor a écrit :
>> That is C. I am not sure what the equivalent is in Java. In Python,
>> this problem occurs only when using GTK and the solution is
>> similar to the C one.
>>
>> Victor
>> ----- Original Message ----- From: "Jean-Pierre Lemoine"
>>
>> To:
>> Sent: Monday, March 17, 2008 9:26 PM
>> Subject: [Csnd] 5.08 java and setLocale
>>
>>
>>> The following error
>>> error: illegal character ., line 309:
>>> asiglo clip asigl, 2, 31622.764
>>> ^
>>> was suggested to be corrected by using
>>>
>>> setlocale(LC_ALL, "C");
>>> before the call to Compile()
>>>
>>> I have no idea on how to set this from a java host using the csound api.
>>> I have tried " Locale.setDefault( Locale.ENGLISH );" without any
>>> success.
>>> Thanks for any help, and why is this now required? new parser?
>>>
>>> jp
>>>
>>>
>>>
>>>
>>>
>>>
>>> Send bugs reports to this list.
>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>>> csound"
>>
>>
>>
>> Send bugs reports to this list.
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>>
>>
>>
>
>
>
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
|