t Users List" <[EMAIL PROTECTED]>
Sent: Friday, January 31, 2003 5:50 PM
Subject: RE: Setting UTF-8 Encoding
> Affan,
>
> The encoding is set just fine. If I copy and paste your JSP, and run it
> here, I get the following as the content type in the HTTP headers:
>
>
kely to be the cause of the problem.
My guess is, that it is #2 that is causing the pain.
> -Original Message-
> From: Affan Qureshi [mailto:[EMAIL PROTECTED]]
> Sent: Friday, January 31, 2003 1:47 PM
> To: Tomcat Users List
> Subject: Re: Setting UTF-8 Encoding
>
>
Thanks for your help.
> Affan,
>
> The encoding is set just fine. If I copy and paste your JSP, and run it
> here, I get the following as the content type in the HTTP headers:
>
> Content-Type: text/html; charset=UTF-8
>
> You're seeing empty squares where you'd expect characters for a couple of
>
Affan,
The encoding is set just fine. If I copy and paste your JSP, and run it
here, I get the following as the content type in the HTTP headers:
Content-Type: text/html; charset=UTF-8
You're seeing empty squares where you'd expect characters for a couple of
reasons:
The Unicode escape for trad
shows teh
question marks in place of those characters.
However, the same JSP code works in for Resin and Weblogic.
Baffled
Affan
- Original Message -
From: "Masood Ahmed" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Friday, January 3
Have you tried setting the locale directly on the
request object? See if that helps.
What version of tomcat are you using?
thanks,
-Masood
--- Affan Qureshi <[EMAIL PROTECTED]> wrote:
> I forgot to paste my code which is there at the
> bottom now.
>
> > I am having trouble setting the encoding
I forgot to paste my code which is there at the bottom now.
> I am having trouble setting the encoding to UTF-8 and hence my web pages
are
> unable to render characters like the Trademark or Copyright symbols. In
> Tomcat's source at various places teh character encoding is hard-coded to
be
> ISO-