Sorry, I stated my question incorrectly. My desire is not to have to create
new JSPs for each charset, so I'd like to use UTF-8. However, can I expect
that most modern browsers will be able to display UTF-8 for their locale?
Obviously I don't expect a Chinese browser to display Hebrew, but I do want
the Chinese browser to UTF-8 like it displays BIG5.
As well, I was wondering what encoding browsers send form data in, and what
happends to it when I try to use it within my JSP/Servlet code. In other
words, do I first need to convert the data sent from the browser into
Unicode, or does the servlet container do that for me?
Thanks,
Scott
-----Original Message-----
From: Frank Esch [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 24, 2000 10:42 PM
To: [EMAIL PROTECTED]
Subject: AW: JSP Internationalization
Here's is the answer:
<%@ page contentType="text/html; charset=UTF-8" %>
hope this helps
Frank
> -----Urspr�ngliche Nachricht-----
> Von: A mailing list about Java Server Pages specification and
> reference
> [mailto:[EMAIL PROTECTED]]Im Auftrag von Scott Evans
> Gesendet: Mittwoch, 19. Juli 2000 10:14
> An: [EMAIL PROTECTED]
> Betreff: JSP Internationalization
>
>
> Does anyone know of any problems/pitfalls associated with
> using UTF-8 as the
> content type for JSPs? For example:
>
> <%@ page contentType="text/html; charset=UTF-8" %>
>
> Thanks,
> Scott
>
> ==============================================================
> =============
> To unsubscribe: mailto [EMAIL PROTECTED] with body:
> "signoff JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets