Hi,
You need to specify the encoding for your web page so that these special
marks are displayed properly.  If you're using a servlet, check out the
JavaDocs for HttpServletResponse#setCharacterEncoding, setLocale, etc.
If you're using a JSP page, check out the @page directive equivalents.

Yoav Shapira http://www.yoavshapira.com


>-----Original Message-----
>From: Hua Hou [mailto:[EMAIL PROTECTED]
>Sent: Monday, October 18, 2004 11:20 AM
>To: [EMAIL PROTECTED]
>Subject: Euro sign and Trademark sign not displaying properly
>
>All,
>
>
>
>I am using Tomcat 4.1.24 and Oracle 10g on Windows XP environment. I am
>facing a problem that euro sign and trade mark can not be displayed
>properly on the web browser.
>
>
>
>These euro sign and trademark signs are read from Oracle using JDBC
java
>code. But when I display them on the web browser, I saw "?" rather than
>the actual sign.
>
>
>
>When I dig deep into the problem, I found that after I read those signs
>from Oracle with Oracle JDBC thin driver, the HEX code for those signs
>are "3F", rather than "80" or "99" (for euro or for trademark sign
>respectively).
>
>
>
>When I was using SQL server before, all those signs were read and
>displayed properly.
>
>
>
>I have searched the Tomcat mailing list and the internet extensively,
>but have not found any solution.
>
>
>
>Any ideas?
>
>
>
>Thanks.
>
>
>
>Hua
>
>




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]

Reply via email to