Announcement Announcement Module
Collapse
No announcement yet.
@PathVariable character encoding Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • @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
    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.

    Comment

    Working...
    X