Page 1 of 1

unicode exec problems

Posted: Tue Jun 24, 2008 6:58 am
by mcog_esteban
hello.
i'm having a bit of a nightmare get this to work:

i have a script that at some point passes a string to be executed with exec (a java call).
The problem is that this string gets to java corrupted, ie, let's say i send

Code: Select all

exec('java Test antónio', $status)
, java sees argument as ant?nio.
If a debug that string to a file, it saves the string right
If i run that string (java Test antónio) in the command line it works great

Any ideas of what i'm forgetting or doing wrong here ?
Thank you in advance.