Mailing List Archive

Accept-language header parsing
Attached is a quick-n-dirty PHP script which should parse the
Accept-language header correctly and pick the most preferred known
language. Ie; if the first language is not in our known list, we keep
going to the next ones until we find one or run out.

-- brion vibber (brion @ pobox.com)