I've found that URI parameters (?foo=bar) function fine but unicode
characters in Chain() arguments do not survive from one page to the
next.
Specifically, this does not work for a chain involving captured
unicode based arguments:
$uri = $c->uri_for(
$c->controller($controller)->action_for($action), $c->req->captures );
Unicode characters get split into individual bytes.
If you reparse the path, however, it works perfectly:
$uri = $c->uri_for(
$c->controller($controller)->action_for($action), $c->req->captures );
$uri->path( $uri->path );
I'm using the Catalyst::Plugin::Unicode 0.8 on Catalyst 5.7015.
Nothing in the release notes indicates it may have been corrected in
newer versions and I do not have the luxury to upgrade at the moment.
Thanks,
Rod
_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/