At Sat, 15 Jun 2002 17:13:52 +0530,
Sreedhar.M <sreedhar@cmcltd.com> wrote:
>
> Please let me know how to display all the characters in my browser.
You didn't tell us which characters are not displayed correctly, but ...
> fileid = new String(temp.getBytes(),"UTF-8");
this code is harmful.
<%@ page contentType="text/html; charset=UTF-8" %>
the above page directive instructs JSP engine to convert Java String
into UTF-8. It is unnecessary to fiddle with character encodings like
this in JSP, unlike in Servlet.
-------------------
Shigemichi Yazawa
yazawa@globalsight.com
This archive was generated by hypermail 2.1.2 : Sat Jun 15 2002 - 17:29:05 EDT