Try request.setContentType("text/html; charset=UTF-8").  Substitute
/UTF-8/thai-char-set/ as necessary.

----- Original Message -----
From: "tom themust" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 05, 2002 9:55 PM
Subject: Problem in Thai language


>
> Dear Sir,
>
> I write the simple Java class (compile with J2SDK 1.4.0) and running in
the command line mode it can display Thai character properly like this :-
>
> System.out.println("ภาษาไทย");  // in the double qoute is thai characters,
it displays thai correctly
>
> But, when I write the Java SERVLET class (servlet 2.3) and running on
Tomcat 4.0.3 (windowsXP Pro.). The problem is my all thai characters
displayed as ??????? (question marks) in the web browser. The code is follow
:-
>
> out.println("ภาษาไทย");  // in the double qoute is thai characters), it
displays that character as ??????
>
>
>
> How can I fix this problem ?
>
> Thanks in advance,
>
> Tom.
>
>
>
> ---------------------------------
> Do You Yahoo!?
> Sign-up for Video Highlights of 2002 FIFA World Cup


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to