[Catalyst] uri_for and unicode

Octavian Rasnita orasnita at gmail.com
Tue Mar 9 14:32:06 GMT 2010

From: "Bernhard Graf" <catalyst4 at augensalat.de>
 Am 09.03.2010 14:30, schrieb Alex Povolotsky:
>> After adding Catalyst::Plugin::Unicode::Encoding, it became MUCH worse.
>> What was readable, became unreadable. What was unreadable, remained so.
>> Replacing C::P::Unicode by C::P::Unicode::Encoding did not yield any
>> difference.
> Then you are probably doing it wrong!
> I suspect that you want to use cyrillic characters. The problem is, that
> most software components (also Perl) default to latin1 or similar.
> A good start is always to use utf-8 encoding everywhere: your source
> code, your web pages encoding and your database charset.
> Always
>  use utf8;
> in your Perl file!
> (unless you are absolutely sure, you are not using any non-ASCII chars)
> Explicitly set your databases encoding to utf-8 on connect (see the
> appropriate DBD::*/DBIC manpages how to do that) and don't use
> DBIx::Class::UTF8Columns.

Is this a general recommendation? (For not using DBIx::Class::UTF8Columns)



__________ Information from ESET NOD32 Antivirus, version of virus signature database 4929 (20100309) __________

The message was checked by ESET NOD32 Antivirus.


More information about the Catalyst mailing list