I had a similar problem with Greek characters. The only thing that
fixed it for me was to make sure that my Oracle database was in the
correct character set, Oracle 9i did not use the standard UTF-8 unless
you set up the whole database at creation time with one obscure
character set.
Also had to put this in all my pages.
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
Absolutely all of them including in all the included JSP files. That
fixed it for me. In my experience it is normally the database that is
causing the problem.
Sorry if you know this already, best of luck
cheers
Martin
On Mar 8, 4:10 pm, dschect...@yahoo.com wrote:
> > On Mar 8, 2:44 am, dschect...@yahoo.com wrote:
>
[quoted text clipped - 41 lines]
> > > </body>
> > > </html>
> > save the resource file as utf8 format. If you save it as ascii char
> > set you would get question marks.
[quoted text clipped - 10 lines]
>
> David
dschectman@yahoo.com - 21 Mar 2007 16:32 GMT
> I had a similar problem with Greek characters. The only thing that
> fixed it for me was to make sure that my Oracle database was in the
[quoted text clipped - 78 lines]
>
> > David
Thanks for all your responses. We do have the meta tags and the JSP
page encoding on our pages. Strings are displaying correctly from the
resource files. The issue is due, in part, to the version of our
JDK. The application server we use, iplanet 6.5, uses Java 1.3.1_04.
The URLEncoder and URLDecoder classes in this version of Java do not
support multiple encodings. When the Unicode characters are passed
through these classes, the encoding is messed up. Unfortunately, we
are not able to upgrade the application server or the JDK at this
time. Can anyone point me to a URL encoder and decoder for this
version of Java that supports Unicode. URL encoding for ASCII should
work as it does now. Encoding Unicode characters should translate
them to %u format as in %u7523.