At Sun, 16 Jun 2002 03:37:43 +0300,
Altug B. Altintas <[EMAIL PROTECTED]> wrote:
> >  i shouldn't use UTF-8 or UTF-16 while String conversions, like
> >
> > >  fileid = new String(temp.getBytes(),"UTF-8");

This is a hack you need to perform in your Servlet code to get correct
characters the user submitted in HTML forms.

> > or like this
> >
> > byte[] byteArray = someString.getBytes("UTF-16");

This code itself isn't wrong at all. 

My point was that you don't need to do all of these in your JSP
code. Page directive takes care of them instead.

-------------------
Shigemichi Yazawa
[EMAIL PROTECTED]

Reply via email to