RE: tomcat 5 and UTF-8 encoding

2004-12-07 Thread Allistair Crossley
someone else had a similar issue with hebrew and you can read what happened 
here:

http://issues.apache.org/bugzilla/show_bug.cgi?id=32500

Allistair.

 -Original Message-
 From: Peter Johnson [mailto:[EMAIL PROTECTED]
 Sent: 07 December 2004 03:41
 To: Tomcat Users List
 Subject: Re: tomcat 5 and UTF-8 encoding
 
 
 Sarah,
 
 I recall a post a week or so ago regarding the contentType 
 string losing 
 the space after the ;
 
 This may be causing the issue.
 
 PJ
 
 Sarah wrote:
 
 Hi,
I need to use jsp to display some data in Japanese 
 character from MS SQL server database.  I have already set 
 the encoding in jsp to be:
  
 %@ page language=java contentType=text/html; charset=UTF-8 %   
 If I use tomcat version 5.0.18, then the japanese character 
 is displayed correctly.  However, if I use 5.0.28 or 5.5.4, 
 the characters are something like ???.  If I right click 
 the html page generated from jsp on the above versions, I can 
 see the encoding to be Western instead of UTF-8 like what 
 happened with 5.0.18.  Does anyone know what cause this 
 problem and if any configuration of Tomcat needs to be made.  
 Thank you very much for your help.
  
  
 Sarah
 
  
 -
 Do you Yahoo!?
  Read only the mail you want - Yahoo! Mail SpamGuard.
   
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE 
---
QAS Ltd.
Developers of QuickAddress Software
a href=http://www.qas.com;www.qas.com/a
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---
/FONT


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



RE: tomcat 5 and UTF-8 encoding

2004-12-07 Thread Shapira, Yoav

Hi,
There are tons of other such stories in the archives of this list and of
Bugzilla.  Nothing new here.

Yoav Shapira http://www.yoavshapira.com


-Original Message-
From: Allistair Crossley [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 07, 2004 4:04 AM
To: Tomcat Users List
Subject: RE: tomcat 5 and UTF-8 encoding

someone else had a similar issue with hebrew and you can read what
happened
here:

http://issues.apache.org/bugzilla/show_bug.cgi?id=32500

Allistair.

 -Original Message-
 From: Peter Johnson [mailto:[EMAIL PROTECTED]
 Sent: 07 December 2004 03:41
 To: Tomcat Users List
 Subject: Re: tomcat 5 and UTF-8 encoding


 Sarah,

 I recall a post a week or so ago regarding the contentType
 string losing
 the space after the ;

 This may be causing the issue.

 PJ

 Sarah wrote:

 Hi,
I need to use jsp to display some data in Japanese
 character from MS SQL server database.  I have already set
 the encoding in jsp to be:
 
 %@ page language=java contentType=text/html; charset=UTF-8 % 

 If I use tomcat version 5.0.18, then the japanese character
 is displayed correctly.  However, if I use 5.0.28 or 5.5.4,
 the characters are something like ???.  If I right click
 the html page generated from jsp on the above versions, I can
 see the encoding to be Western instead of UTF-8 like what
 happened with 5.0.18.  Does anyone know what cause this
 problem and if any configuration of Tomcat needs to be made.
 Thank you very much for your help.
 
 
 Sarah
 
 
 -
 Do you Yahoo!?
  Read only the mail you want - Yahoo! Mail SpamGuard.
 
 

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




FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE
---
QAS Ltd.
Developers of QuickAddress Software
a href=http://www.qas.com;www.qas.com/a
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---
/FONT


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




This e-mail, including any attachments, is a confidential business 
communication, and may contain information that is confidential, proprietary 
and/or privileged.  This e-mail is intended only for the individual(s) to whom 
it is addressed, and may not be saved, copied, printed, disclosed or used by 
anyone else.  If you are not the(an) intended recipient, please immediately 
delete this e-mail from your computer system and notify the sender.  Thank you.


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



tomcat 5 and UTF-8 encoding

2004-12-06 Thread Sarah
Hi,
   I need to use jsp to display some data in Japanese character from MS SQL 
server database.  I have already set the encoding in jsp to be:
 
%@ page language=java contentType=text/html; charset=UTF-8 % 
 
If I use tomcat version 5.0.18, then the japanese character is displayed 
correctly.  However, if I use 5.0.28 or 5.5.4, the characters are something 
like ???.  If I right click the html page generated from jsp on the above 
versions, I can see the encoding to be Western instead of UTF-8 like what 
happened with 5.0.18.  Does anyone know what cause this problem and if any 
configuration of Tomcat needs to be made.  Thank you very much for your help.
 
 
Sarah


-
Do you Yahoo!?
 Read only the mail you want - Yahoo! Mail SpamGuard.

Re: tomcat 5 and UTF-8 encoding

2004-12-06 Thread Peter Johnson
Sarah,
I recall a post a week or so ago regarding the contentType string losing 
the space after the ;

This may be causing the issue.
PJ
Sarah wrote:
Hi,
  I need to use jsp to display some data in Japanese character from MS SQL 
server database.  I have already set the encoding in jsp to be:
%@ page language=java contentType=text/html; charset=UTF-8 % 

If I use tomcat version 5.0.18, then the japanese character is displayed correctly.  However, if I 
use 5.0.28 or 5.5.4, the characters are something like ???.  If I right click the html 
page generated from jsp on the above versions, I can see the encoding to be Western instead of 
UTF-8 like what happened with 5.0.18.  Does anyone know what cause this problem and if 
any configuration of Tomcat needs to be made.  Thank you very much for your help.
Sarah
		
-
Do you Yahoo!?
Read only the mail you want - Yahoo! Mail SpamGuard.
 

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