You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2008/05/27 15:36:40 UTC

[jira] Assigned: (SLING-468) ContainerRequestParameter.getString(String encoding) not working

     [ https://issues.apache.org/jira/browse/SLING-468?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carsten Ziegeler reassigned SLING-468:
--------------------------------------

    Assignee: Carsten Ziegeler

> ContainerRequestParameter.getString(String encoding) not working
> ----------------------------------------------------------------
>
>                 Key: SLING-468
>                 URL: https://issues.apache.org/jira/browse/SLING-468
>             Project: Sling
>          Issue Type: Bug
>          Components: Engine
>    Affects Versions: 2.0.0
>         Environment: Windows XP, Java 1.5.0_04
>            Reporter: Thomas Röthlisberger
>            Assignee: Carsten Ziegeler
>            Priority: Minor
>             Fix For: 2.0.0
>
>
> Using the method
> ContainerRequestParameter.getString(String encoding) does not decode the String.
> When executing a sling page with the url:
> standardportal.html?q=%C3%A4%C3%B6%C3%BC
> then using 
> SlingHttpServletRequest.getParameter("q").getString("UTF-8") 
> is not returning äöü but äöü
> but when doing the decode manually
> new String(SlingHttpServletRequest.getParameter("q").getString().getBytes(),"UTF-8")
> is returning äöü.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.