Hi Mark

If I have tried the following.

                response.setContentType("text/html;
charset=utf-8");
        PrintWriter out = response.getWriter();
        request.setCharacterEncoding("UTF-8");
        String test=request.getParameter("login");
        out.println("Input string:"+test);
        out.println(URLEncoder.encode(test,"UTF-8"));
        out.close();            

What is output to the browser is Unicode instead of
the characters. If I look at the source of the
returned page. I see
ฟหกฟหก instead of
characters like
กรุงเทพฯ.

Regards

David.

--- Mark Thomas <[EMAIL PROTECTED]> wrote:
>
http://jakarta.apache.org/tomcat/faq/misc.html#tomcat5CharEncoding
> 
> Mark
> 
> David Harland wrote:
> > I am using Tomcat 5.0 and I am trying to receive
> and
> > send  thai characters. Can someone please tell me
> the
> > simplest ways to do this.
> > 
> > Many thanks
> > 
> > Dave.
> > 
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> > http://mail.yahoo.com 
> > 
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > For additional commands, e-mail:
> [EMAIL PROTECTED]
> > 
> > 
> > 
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 


                
__________________________________ 
Yahoo! Mail Mobile 
Take Yahoo! Mail with you! Check email on your mobile phone. 
http://mobile.yahoo.com/learn/mail 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to