This content has been marked as final.
Show 3 replies
-
1. Re: JBOSS Webservice & Thai Language
terapong Oct 18, 2007 9:22 AM (in response to terapong)i can't type thai language on this forum
@WebMethod
@WebResult(name = "result")
public String echo(@WebParam(name = "book") String book) {
System.out.println(book);
return "any thai word";
} -
2. Re: JBOSS Webservice & Thai Language
oskar.carlstedt Oct 18, 2007 9:51 AM (in response to terapong)Hi!
You have to set the encoding to UTF-8 (default is ISO-8859). I'm not sure if there is any other way right now than setting the file.encoding parameter to UTF-8. So add -Dfile.encoding=UTF-8 to your JAVA_OPTS when starting JBoss.
Good luck!
/Oskar -
3. Re: JBOSS Webservice & Thai Language
terapong Oct 19, 2007 1:36 AM (in response to terapong)It's work thanks Oskar