Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-dev] Character Encoding and Jetty 7

Greg (lists in cc),

Jetty seems to have changed the assumption of the default character set for
form data to be ISO-8859-1, whereas previously jetty assumed UTF-8.

What was the reason for the change? A few people are reporting issues with
jetty-7 that are all due to the change in char-encoding defaults.

The HTML5 draft spec makes it clear that for url encoded form data the
default should be UTF-8: http://www.w3.org/TR/html5/forms.html#url-encoded-form-data

Note that we have not changed our default for char encoding ofurls in requests, and still use UTF-8 as per http://www.w3.org/TR/html40/appendix/notes.html#non-ascii-chars

Do you think we should revert to UTF-8 for form data for jetty-7.0.0 final?

cheers
Jan
--
Jan Bartel, Webtide LLC | janb@xxxxxxxxxxx | http://www.webtide.com


Back to the top