This will iterate through all the charsets provided in order of qvalue, and select the first one that is valid according to the encoding manager and acceptable according to the user.
If no accept-charset header was provided, or if one was provided but none of the specified charsets was valid and acceptable, it will fall back to the device and then system default values.
The logic here is guided/mandated by RFC 2616 Sections 3.9 and 14.2.
|
|
|
|