You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Apostolos Mantes (JIRA)" <de...@myfaces.apache.org> on 2007/11/30 10:04:43 UTC

[jira] Created: (TOMAHAWK-1159) Tomcat URIEncoding UTF-8 and InputSuggestAjax

Tomcat URIEncoding UTF-8 and InputSuggestAjax
---------------------------------------------

                 Key: TOMAHAWK-1159
                 URL: https://issues.apache.org/jira/browse/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.