[
https://issues.apache.org/jira/browse/SLING-468?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Carsten Ziegeler closed SLING-468.
----------------------------------
> 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: 3
> Environment: Windows XP, Java 1.5.0_04
> Reporter: Thomas Röthlisberger
> Assignee: Carsten Ziegeler
> Priority: Minor
> Fix For: 3
>
>
> 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.