On Thu, May 31, 2012 at 11:43 AM, Senaka Fernando <sen...@wso2.com> wrote:

> Hi Ajith,
>
> Ok. Point taken. We had something called, CarbonHttpServletRequest (see
> r112136), which dealt with this in the past. Wonder whether that no longer
> exists?
>

 It has removed  after tomcat OSGI . see r122364.

Thanks
Ajith

>
> Thanks,
> Senaka.
>
>
> On Thu, May 31, 2012 at 11:37 AM, Ajith Vitharana <aji...@wso2.com> wrote:
>
>>
>>
>> On Thu, May 31, 2012 at 10:46 AM, Senaka Fernando <sen...@wso2.com>wrote:
>>
>>> Hi Ajith,
>>>
>>> On Thu, May 31, 2012 at 10:20 AM, Ajith Vitharana <aji...@wso2.com>wrote:
>>>
>>>>
>>>>
>>>> On Thu, May 31, 2012 at 9:47 AM, Senaka Fernando <sen...@wso2.com>wrote:
>>>>
>>>>> Hi Ajith,
>>>>>
>>>>> On Thu, May 31, 2012 at 9:31 AM, Vijitha Kumara <viji...@wso2.com>wrote:
>>>>>
>>>>>>
>>>>>> On Wed, May 30, 2012 at 8:50 PM, Ajith Vitharana <aji...@wso2.com>wrote:
>>>>>>
>>>>>>>
>>>>>>> Hi All,
>>>>>>>
>>>>>>> I'm doing a form submit after filled  some text fields with
>>>>>>> non-utf-8 characters.
>>>>>>> After when I try to get values of those text fields , it doesn't
>>>>>>> return same value which I have submitted.
>>>>>>>
>>>>>>> submit : param =Overview_Provider , value=ÇÇÇÇÇÇ
>>>>>>>
>>>>>>> request.getParameter("Overview_Provider") return ÇÇÇÇÇÇ.
>>>>>>>
>>>>>>
>>>>>> Is the JSP used for this uses the encoding (e.g: "<%@ page
>>>>>> contentType="text/html; charset=UTF-8" pageEncoding="ISO-8859-1" %>") ?
>>>>>>
>>>>>
>>>>> Can we fix the @page declaration of JSPs in the Registry and
>>>>> Governance components to match the following, recompile, and test,
>>>>>
>>>>> <%@ page contentType="text/html;charset=UTF-8" language="java"
>>>>> pageEncoding="UTF-8" %>
>>>>>
>>>>
>>>> Hi Senaka/Vijitha,
>>>>
>>>> I tried this but doesn't work.
>>>>
>>>
>>> OK, but I think we still need to do that. I mean all JSPs not just one
>>> or two.
>>>
>>
>> Yes, Changed every jsp files inside registry and governance components.
>> But doesn't work.
>>
>> Thanks
>> Ajith
>>
>>>
>>>
>>>> I found following solution and it works fine.
>>>>
>>>> new
>>>> String(request.getParameter("Overview_Provider").getBytes("ISO-8859-1"));
>>>>
>>>
>>> I don't think that's a good solution. We shouldn't be needing to use
>>> "ISO-8859-1" to retrieve the bytes.
>>>
>>>>
>>>> Now the resource URL contain the non-utf-8 characters therefore can't
>>>> open it.
>>>> It can be resolve adding following property to  catalina-server.xml.
>>>>
>>>> URIEncoding="UTF-8"
>>>>
>>>
>>> We can do that if needed.
>>>
>>> Thanks,
>>> Senaka.
>>>
>>>>
>>>> Thanks
>>>> Ajith
>>>>
>>>>
>>>>> Thanks,
>>>>> Senaka.
>>>>>
>>>>>>
>>>>>>
>>>>>>>
>>>>>>> But same thing working fine in branch (3.2.3 branch, In G-reg 4.1.1).
>>>>>>>
>>>>>>> Thanks
>>>>>>> Ajithn
>>>>>>> --
>>>>>>> Ajith Vitharana.
>>>>>>> WSO2 Inc. - http://wso2.org
>>>>>>> Email  :  aji...@wso2.com
>>>>>>> Mobile : +94714631794
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Dev mailing list
>>>>>>> Dev@wso2.org
>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Vijitha Kumara
>>>>>> Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
>>>>>> email: viji...@wso2.com
>>>>>>
>>>>>> Lean . Enterprise . Middleware
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Dev mailing list
>>>>>> Dev@wso2.org
>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> *Senaka Fernando*
>>>>> Product Manager - WSO2 Governance Registry;
>>>>> Associate Technical Lead; WSO2 Inc.; http://wso2.com*
>>>>> Member; Apache Software Foundation; http://apache.org
>>>>>
>>>>> E-mail: senaka AT wso2.com
>>>>> **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
>>>>> Linked-In: http://linkedin.com/in/senakafernando
>>>>>
>>>>> *
>>>>> Lean . Enterprise . Middleware
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Ajith Vitharana.
>>>> WSO2 Inc. - http://wso2.org
>>>> Email  :  aji...@wso2.com
>>>> Mobile : +94714631794
>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> *Senaka Fernando*
>>> Product Manager - WSO2 Governance Registry;
>>> Associate Technical Lead; WSO2 Inc.; http://wso2.com*
>>> Member; Apache Software Foundation; http://apache.org
>>>
>>> E-mail: senaka AT wso2.com
>>> **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
>>> Linked-In: http://linkedin.com/in/senakafernando
>>>
>>> *Lean . Enterprise . Middleware
>>>
>>>
>>
>>
>> --
>> Ajith Vitharana.
>> WSO2 Inc. - http://wso2.org
>> Email  :  aji...@wso2.com
>> Mobile : +94714631794
>>
>>
>>
>
>
> --
> *Senaka Fernando*
> Product Manager - WSO2 Governance Registry;
> Associate Technical Lead; WSO2 Inc.; http://wso2.com*
> Member; Apache Software Foundation; http://apache.org
>
> E-mail: senaka AT wso2.com
> **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
> Linked-In: http://linkedin.com/in/senakafernando
>
> *Lean . Enterprise . Middleware
>
>


-- 
Ajith Vitharana.
WSO2 Inc. - http://wso2.org
Email  :  aji...@wso2.com
Mobile : +94714631794
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to