hi all,
I have to display a greek character in the JSP page.
i am constructing the string object as follows,
<% byte[] str= new byte("O���� O�� ������");
String greek = new String(str,"ISO-8859-7");
out.println(greek); %>
but when the Jrun Interprets the code it gives me
javax.servlet.ServletException: Invalid UTF-8 code. (bytes: 0xfffffff4
0xffffffef) Error.
How do i display the languages which is other than english in the JSP
pages?
FYI, i don't want to set the html charset as greek code since only few
information in the page is greek and rest of it is english.
I badly need to rectify this problem and any early reply will help me a
lot....
thanks for your time ...
--
with rgds,
rathna
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
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