[Catalyst] unicode best practices
Jonathan Rockway
jon at jrock.us
Thu Feb 15 21:15:40 GMT 2007
Daniel McBrearty wrote:
> I also found once I started using the above, I needed to install
> C::V::TT::ForceUTF8 to avoid garbled output.
This means you're probably not encoding octets to characters properly.
See what encoding::warnings says about your code.
Also, read http://www.catalystframework.org/calendar/2006/21 for
unicode details.
>
> There is also somewhere a module which causes stash to be flagged
> utf8, but I haven't needed it. Yet ...
Shouldn't be necessary if you're writing correct code.
--
package JAPH;use Catalyst qw/-Debug/;($;=JAPH)->config(name => do {
$,.=reverse qw[Jonathan tsu rehton lre rekca Rockway][$_].[split //,
";$;"]->[$_].q; ;for 1..4;$,=~s;^.;;;$,});$;->setup;
More information about the Catalyst
mailing list