Re: Problem in Thai language

2002-06-06 Thread tom themust


 Thanks Barker, It's work now.
 
Tom.
  Bill Barker [EMAIL PROTECTED] 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


Problem in Thai language

2002-06-05 Thread tom themust


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


Re: Problem in Thai language

2002-06-05 Thread Bill Barker

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]