* Bill Moseley <mose...@hank.org> [2009-01-29 17:05]:
> Neither of the existing plugins do it correctly (IMO), as
> they only decode parameters leaving body_parameters as octets,
> and don't look at the request for the charset, IIRC. […]
> uri_for() rightly encodes to octets before escaping, but it
> always encodes to utf-8. Is it assumed that query parameters
> are always utf-8 or should they be decoded with the charset
> specified in the request?

The URI should always be assumed to be UTF-8 encoded octets.
The body should be decoded according to the charset declared
in the header by the browser.

Regards,
-- 
Aristotle Pagaltzis // <http://plasmasturm.org/>

_______________________________________________
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/

Reply via email to