11.07.2015 Views

Network Working Group R. Fielding Request for Comments: 2616 ...

Network Working Group R. Fielding Request for Comments: 2616 ...

Network Working Group R. Fielding Request for Comments: 2616 ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Fielding</strong>, et al. Standards Track [Page 21]RFC <strong>2616</strong> HTTP/1.1 June 1999The term "character set" is used in this document to refer to amethod used with one or more tables to convert a sequence of octetsinto a sequence of characters. Note that unconditional conversion inthe other direction is not required, in that not all characters maybe available in a given character set and a character set may providemore than one sequence of octets to represent a particular character.This definition is intended to allow various kinds of characterencoding, from simple single-table mappings such as US-ASCII tocomplex table switching methods such as those that use ISO-2022'stechniques. However, the definition associated with a MIME characterset name MUST fully specify the mapping to be per<strong>for</strong>med from octetsto characters. In particular, use of external profiling in<strong>for</strong>mationto determine the exact mapping is not permitted.Note: This use of the term "character set" is more commonlyreferred to as a "character encoding." However, since HTTP andMIME share the same registry, it is important that the terminologyalso be shared.HTTP character sets are identified by case-insensitive tokens. Thecomplete set of tokens is defined by the IANA Character Set registry[19].charset = tokenAlthough HTTP allows an arbitrary token to be used as a charsetvalue, any token that has a predefined value within the IANACharacter Set registry [19] MUST represent the character set definedby that registry. Applications SHOULD limit their use of charactersets to those defined by the IANA registry.Implementors should be aware of IETF character set requirements [38][41].3.4.1 Missing CharsetSome HTTP/1.0 software has interpreted a Content-Type header withoutcharset parameter incorrectly to mean "recipient should guess."Senders wishing to defeat this behavior MAY include a charsetparameter even when the charset is ISO-8859-1 and SHOULD do so whenit is known that it will not confuse the recipient.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!