Default charset parameter values for text/* media types
Default charset parameter values for text/* media types
Alexey Melnikov Julian F. Reschke
Background idnefofarumlta-tcihoanr:sdert-a0ft1-.mtxetlnikov-mime-
Issues with default charsets for different text/* media types
MIME (RFC 2046, Section 4.1.2) says that the default charset is "US-ASCII"
RFC 2616 says that the default charset is "ISO8859-1"
Confusion on which document is authoritative in case of HTTP
Additional confusion: what about structured text/* media types which include the charset in the payload itself (e.g. text/xml), e.g.
?
Proposal (1 of 2)
? Remove the restriction from MIME that the default charset for a text/* media type is always "USASCII", i.e. a particular text/* media type can ?specify a different default; ?This option is not recommended ?specify that the charset parameter is never used; ?specify that the charset parameter must always be specified
? Protocols using media types MUST NOT [re-] define any default charset values for text/*
Proposal (2 of 2)
? If a text/* media type defines a default charset value, it SHOULD be "UTF-8"
Examples
? text/plain --> default charset value is "US-ASCII" (unchanged), charset parameter is allowed
? text/html or text/xml --> the charset parameter SHOULD NOT be used
? text/vcard (draft-ietf-vcarddav-vcardrev-22.txt) --> always use explicit charset="UTF-8"
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- launching java web start from different browsers
- lab module 2 streams universiti malaysia perlis
- core libraries java platform standard edition oracle
- generating the server response http response headers pearson
- troubleshooting issues with mysql character sets
- default method in java
- default charset parameter values for text media types
- default method declarations in java
- java on z os batch topics jsr sys
- java nio charset standardcharsets jar
Related searches
- examples of core values for employees
- examples of core values for business
- list of values for students
- list of values for teens
- core values for employee performance
- common core values for individuals
- list of values for kids
- list of values for teenagers
- values for children
- z values for normal distribution
- examples of values for organizations
- free cd burner for windows media player