From: "Bernhard Graf" <cataly...@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)
Thanks.
Octavian
__________ Information from ESET NOD32 Antivirus, version of virus signature
database 4929 (20100309) __________
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
_______________________________________________
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/