[Catalyst] utf8 in regexes in Catalyst

Alexandre Jousset mid at gtmp.org
Sun Mar 2 13:08:39 GMT 2008


	Hello list,

	I'm able tu "use encoding utf8" in a normal Perl program to correctly 
match regexes like this : echo 'é' | perl -e 'use encoding "utf8";print 
<> =~ /\w/' (in an utf8 terminal), but how could I achieve the same 
result in a Catalyst application? Am I obliged to "use encoding" in 
every module? Is there a way to do it globally? What is the right way to 
do this?

	My goal is to check input from utf8 forms.

	Thanks,
-- 
--      \^/                                            --
--    -/ O \---------------------------------------    --
--   | |/ \|      Alexandre (Midnite) Jousset      |   --
--    -|___|---------------------------------------    --



More information about the Catalyst mailing list