paulb@225 | 1 | Character Set Semantics in WebStack
|
paulb@225 | 2 | -----------------------------------
|
paulb@225 | 3 |
|
paulb@225 | 4 | Character sets (or encodings) are relevant in two areas:
|
paulb@225 | 5 |
|
paulb@225 | 6 | * The encoding of output data.
|
paulb@225 | 7 | * The processing of input data.
|
paulb@225 | 8 |
|
paulb@225 | 9 | When producing HTML pages containing form fields and interpreting the values of
|
paulb@225 | 10 | such fields from a request body, it is necessary to know...
|
paulb@225 | 11 |
|
paulb@225 | 12 | * The character set used to encode the values sent by the browser. This is
|
paulb@225 | 13 | typically determined by...
|
paulb@225 | 14 |
|
paulb@225 | 15 | * The character set used to encode the HTML page from which the field values
|
paulb@225 | 16 | originated.
|
paulb@225 | 17 |
|
paulb@225 | 18 | It is therefore also necessary to remain consistent in the usage of character
|
paulb@225 | 19 | sets when specifying content types.
|