Results 1 to 2 of 2

Thread: @PathVariable character encoding

  1. #1

    Default @PathVariable character encoding

    Hi,

    in the environment I'm using (Tomcat 6), percent sequences in path segments apparently are decoded using ISO-8859-1 when being mapped to a @PathVariable.

    I'd like that to be UTF-8.

    Where's the override?

  2. #2

    Default

    I resolved this with people on stackoverflow pointing to the right solution:

    http://stackoverflow.com/questions/4...acter-encoding

    This really should be simpler. In particular, the encoding of URIs has nothing to do with the encoding of the body (which might be binary, or depend on the client sending the request), so this really should be separated from the request's encoding property.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •