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.