Re: [Dev] [Jaggery] How to extract unicode value from request object

2014-10-14 Thread Lakshman Udayakantha
Hi

Sorry for the inconvenience occured. It's the correct way to extract
unicode value from request object. when I send unicode value from client
side I added the cotent type as application/x-www-form-urlencoded;
charset=utf-8. now it is working fine.

thanks

On Tue, Oct 14, 2014 at 2:56 PM, Lakshman Udayakantha 
wrote:

> Hi All,
>
> I used
> log.info("This is an INFO level
> log"+request.getParameter("name","UTF-8"));
>
> but it does not return correct value. it returns a value like this
>
> This is an INFO level logඋදයක෠න්à
>
> can someone point out that how to get the unicode values from request
> object correctly?
>
> --
> Lakshman Udayakantha
> WSO2 Inc. www.wso2.com
> lean.enterprise.middleware
> Mobile: *0711241005*
>
>


-- 
Lakshman Udayakantha
WSO2 Inc. www.wso2.com
lean.enterprise.middleware
Mobile: *0711241005*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [Jaggery] How to extract unicode value from request object

2014-10-14 Thread Lakshman Udayakantha
Hi All,

I used
log.info("This is an INFO level
log"+request.getParameter("name","UTF-8"));

but it does not return correct value. it returns a value like this

This is an INFO level logඋදයකාන්à

can someone point out that how to get the unicode values from request
object correctly?

-- 
Lakshman Udayakantha
WSO2 Inc. www.wso2.com
lean.enterprise.middleware
Mobile: *0711241005*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev