There would be a problem to see correct encoding if you use borlands
make or another compiler. Try Sun's javac to compiler.
Ozgur ..
-Original Message-
From: A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED] On Behalf Of K R
Viju
>Erik,
>we cannot set encoding of request in the servlet,... do we?
>I guess we have no method like setCharacterEncoding()
Yes we do. From Servlet ver 2.4. Search for setCharacterEncoding.
http://www.javapassion.com/j2eeadvanced/Servlet2.4Enhancements_speakerno
ted.pdf
/Erik Beijnoff
__
]
Subject: Re: UTF-8 Problem
Erik,
we cannot set encoding of request in the servlet,... do we?
I guess we have no method like setCharacterEncoding()
Viju
- Original Message -
From: "Erik Beijnoff" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 29, 2004 5:36
Erik,
we cannot set encoding of request in the servlet,... do we?
I guess we have no method like setCharacterEncoding()
Viju
- Original Message -
From: "Erik Beijnoff" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 29, 2004 5:36 PM
Subject: Re: UTF
>Hi All,
>I have a HTML page in which user can enter data in
>different languages, like ARABIC, ENGLISH etc. Hence i
>have made the page as charset=utf-8. Now when i submit my
>page to a servlet, all the characters except ascii are going
>as "?". This happens only when i use IE6 with ServicePack1
>