CC: | steve.pitchford [...] gmail.com |
Hi.
Reproduced in new Catalyst Project - only change from "catalyst project"
was to add catalyst::plugin::unicode::encoding as described in the
synopsis for this ( excellent ) module.
If I then type the following into my browser:
http://localhost:3000?q=%FCsomething
Then I get a blank screen, and the following in the logs.
[error] Caught exception in engine "utf8 "\xFC" does not map to Unicode
at ... /perl/site/lib/Catalyst/Plugin/Unicode/Encoding.pm line 96."
Line 96 being :-
$_ = Encode::is_utf8( $_ ) ? $_ : $enc->decode( $_, $CHECK );
in prepare_uploads
This is reproducable on both windows and linux/apache installs.
From a user point of view, clicking on a link and the server going boom
is far from excellent - but at present I have no way of trapping it in
code or trying to do the right thing as the rug has already been pulled
form under me...
I'll send a patch if I come up with anything.