On Fri, Feb 17, 2012 at 8:23 PM, Dominic Germain
<[email protected]>wrote:

>
>
> Using Catalyst::Plugin::Unicode::Encoding instead of "hacking" Catalyst.pm
> works, but it brakes some other parts of our code (form posted containing
> some accent are screwed up).
>
> Reverting Catalyst.pm to old fashion bytes::length() is way simpler...
>
> Anyone aware of drawback using it instead of length()?
>

None, although I would expect to see you again here with other problems
related to encoding in the future. ;)

Honestly, you should just fix it right.  Decode ALL input and encode all
output.  Once you have that set up you will never[1] fight encoding issues
again.


[1] for some value of never.


-- 
Bill Moseley
[email protected]
_______________________________________________
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/

Reply via email to