Tapestry
  1. Tapestry
  2. TAPESTRY-2501

Form input not correctly decoded in case of non-english charsets

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.0.13
    • Fix Version/s: 5.0.14
    • Component/s: None
    • Labels:
      None

      Description

      This problem occurs because major browsers don't conform to standards which says that client charset should be sent via "content-type" HTTP header to server.
      Everything is well described in this article:
      http://www.crazysquirrel.com/computing/general/form-encoding.jspx

      I guess this is closely related to submitted issue:
      https://issues.apache.org/jira/browse/TAPESTRY-915

      So, fix should be that
      HttpServletRequest.setEncodingCharset("UTF-8"); (I guess charset should be configurable somehow)
      is set in tapestry filter prior to anyone fetching any parameter value.

        Issue Links

          Activity

          Vjeran Marcinko created issue -
          Howard M. Lewis Ship made changes -
          Field Original Value New Value
          Link This issue is part of TAPESTRY-2543 [ TAPESTRY-2543 ]
          Howard M. Lewis Ship made changes -
          Assignee Howard M. Lewis Ship [ hlship ]
          Fix Version/s 5.0.14 [ 12313214 ]
          Status Open [ 1 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]
          Mark Thomas made changes -
          Workflow jira [ 12434547 ] Default workflow, editable Closed status [ 12568786 ]
          Mark Thomas made changes -
          Workflow Default workflow, editable Closed status [ 12568786 ] jira [ 12591801 ]

            People

            • Assignee:
              Howard M. Lewis Ship
              Reporter:
              Vjeran Marcinko
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development