Uploaded image for project: 'MyFaces Tomahawk'
  1. MyFaces Tomahawk
  2. TOMAHAWK-1159

Tomcat URIEncoding UTF-8 and InputSuggestAjax

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.1.7-SNAPSHOT
    • None
    • InputSuggestAjax
    • None

    Description

      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).

      Attachments

        Activity

          People

            Unassigned Unassigned
            mantesap Apostolos Mantes
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: