jakartaee / jakartaee/servlet

The default charset of ISO-8859-1 has been removed. The default is whatever the media type says.

Open
#92 5 comments 0 reactions 1 assignee Claimed by @glassfishrobot View on GitHub
Enhancement
Dominant language
Java
Stars
325
Forks
112
PR merge metrics
No merged PRs in 30d

Description

According to Phil Hunt's blog entry, <[https://blogs.oracle.com/fusionmiddleware/entry/standards_corner_ietf_revisits_http](https://blogs.oracle.com/fusionmiddleware/entry/standards_corner_ietf_revisits_http)> there are a number of improvements in the recent HTTP 1.1 JSRs that should be investigated for their impact on Servlet.

The default charset of ISO-8859-1 has been removed. The default is whatever the media type says.

Section 5.5 states:

> If the servlet does not specify a character encoding before the getWriter method of the ServletResponse interface is called or the response is committed, the default ISO-8859-1 is used.

This text needs to be updated to reflect the changes in RFC 7231 [http://tools.ietf.org/html/rfc7231](http://tools.ietf.org/html/rfc7231)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.