myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Apostolos Mantes (JIRA)" <>
Subject [jira] Created: (TOMAHAWK-1159) Tomcat URIEncoding UTF-8 and InputSuggestAjax
Date Fri, 30 Nov 2007 09:04:43 GMT
Tomcat URIEncoding UTF-8 and InputSuggestAjax

                 Key: TOMAHAWK-1159
             Project: MyFaces Tomahawk
          Issue Type: Bug
          Components: InputSuggestAjax
    Affects Versions: 1.1.7-SNAPSHOT
            Reporter: Apostolos Mantes

After changing tomcat's server.xml from <Connector ..> to <Connector URIEncoding="UTF-8"
... >, the InputSuggestAjex control did not work for anything other than english text.
I was able to track the error an apparently a needless call is being made to org.apache.myfaces.custom.util.URIComponentUtils.decodeURIComponent(String
encodedURI) . 
Searching by the greek text "δια", without the URIEncoding parameter, will work ok. However,
the static  function above will garble the bytes of a perfectly correct string after setting
the URIEncoding parameter (encodedURI variable already contains the "δια" value).  

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

View raw message