It tells me I can't have two "contentType" entries when I put in the JSP
tag!!

Andoni.
----- Original Message -----
From: "Andoni" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Thursday, December 19, 2002 12:58 PM
Subject: Re: UTF-8 vs ISO-8859-1 and really screwed up webpages.


> I am having this problem aswell.
>
> the pages I produce are coming up with all sorts of Japanese characters
etc.
> in them.
> I have already inserted the Meta tags and converted the files using the
> saveAs / UTF8 feature on my editor.
>
> Now I am going to add the <%@ page contentType = "text/html;charset=UTF-8"
> %>
> tag suggested by Bogdan below, is there anything else I must do?
>
> Andoni.
>
> ----- Original Message -----
> From: "Bogdan Kiszka" <[EMAIL PROTECTED]>
> To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
> Sent: Thursday, December 19, 2002 9:25 AM
> Subject: RE: UTF-8 vs ISO-8859-1 and really screwed up webpages.
>
>
> In the JSP page, use a page directive to set the content type:
> <%@ page contentType = "text/html;charset=UTF-8" %>
>
>
> -----Original Message-----
> From: Kristj?n Bjarni Gu?mundsson [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, December 19, 2002 9:50 AM
> To: Tomcat Users List
> Subject: Re: UTF-8 vs ISO-8859-1 and really screwed up webpages.
>
>
> Yes, you are storing the page as ISO-8859-1 so you must serve the page
> as
> ISO-8859-1
> changing the meta tag to UTF-8 doesn't magically convert the page to
> UTF-8.
>
> If you want to serve the page as UTF-8 you must also save the page as
> UTF-8.
> The meta tag is just a hint to the browser which charset the page is
> using.
>
> Check you html editor to see if you can change the encoding to UTF-8
> when
> saving.
>
> "Adam Greene" <[EMAIL PROTECTED]> wrote on 18.12.2002 20:32:37:
>
> > I have two webpages and both contain the letter é (litterally written
> into
> > the page), but one page displays it as é and the other page displays
> it
> as
> > ?C and I cannot figure out why.  I have tried setting (via META Tags)
> the
> > language to UTF-8 and to ISO-8859-1 and I can only get one page to
> work
> at a
> > time (under UTF-8, the é comes up as a block on the page that did work
>
> under
> > ISO-8859-1).  I can see no difference in the code.
> >
> > Does anyone have any ideas about what is going on??
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> >
>
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>


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

Reply via email to