> Hi,
>
> i shouldn't use UTF-8 or UTF-16 while String conversions, like
>
> > fileid = new String(temp.getBytes(),"UTF-8");
>
> or like this
>
> byte[] byteArray = someString.getBytes("UTF-16");
>
> right ?
>
> I understand ISO8859_X tables and conversions between them but conversion
> between any ISO8859_X and UTF-8,UTF-16 is not a right action i think.
>
> Regards
> Altug
>
>
>
>
>
>
>
>
>
> ----- Original Message -----
> From: "Shigemichi Yazawa" <yazawa@globalsight.com>
> To: <unicode@unicode.org>
> Sent: Sunday, June 16, 2002 2:00 AM
> Subject: Re: Some Unicode Characters are not displayed in my browser(IE
5.0)
>
>
> > 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 - 19:04:59 EDT