tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tom themust <tomcc...@yahoo.com>
Subject Re: Problem in Thai language
Date Thu, 06 Jun 2002 08:29:43 GMT

 Thanks Barker, It's work now.
 
Tom.
  Bill Barker <wbarker@wilshire.com> wrote: Try request.setContentType("text/html; charset=UTF-8").
Substitute
/UTF-8/thai-char-set/ as necessary.

----- Original Message -----
From: "tom themust" 
To: 
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: 
For additional commands, e-mail: 



---------------------------------
Do You Yahoo!?
Sign-up for Video Highlights of 2002 FIFA World Cup
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message