Re: [Catalyst] uri_for and unicode

2010-03-09 Thread Bernhard Graf
Am 09.03.2010 15:32, schrieb Octavian Rasnita: 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) That's MY general recommendation. ;-) I tried this UTF8Columns a while ago,

Re: [Catalyst] uri_for and unicode

2010-03-09 Thread Bernhard Graf
Am 09.03.2010 11:26, schrieb Alex Povolotsky: uri_for seems to have some troubles with unicode. Use of uninitialized value within %URI::Escape::escapes in substitution iterator at /usr/local/lib/perl5/site_perl/5.10.1/Catalyst.pm line 1268. I remember, that there was quite a few progress in

Re: [Catalyst] uri_for and unicode

2010-03-09 Thread Octavian Rasnita
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

Re: [Catalyst] uri_for and unicode

2010-03-09 Thread Moritz Onken
Am 09.03.2010 um 21:30 schrieb Alex Povolotsky: On 03/09/10 13:47, Bernhard Graf wrote: Am 09.03.2010 11:26, schrieb Alex Povolotsky: uri_for seems to have some troubles with unicode. Use of uninitialized value within %URI::Escape::escapes in substitution iterator at

Re: [Catalyst] uri_for and unicode

2010-03-09 Thread Alex Povolotsky
On 03/09/10 13:47, Bernhard Graf wrote: Am 09.03.2010 11:26, schrieb Alex Povolotsky: uri_for seems to have some troubles with unicode. Use of uninitialized value within %URI::Escape::escapes in substitution iterator at /usr/local/lib/perl5/site_perl/5.10.1/Catalyst.pm line

Re: [Catalyst] uri_for and unicode

2010-03-09 Thread Bernhard Graf
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

Re: [Catalyst] uri_for and unicode

2010-03-09 Thread Tomas Doran
Alex Povolotsky wrote: Catalyst is 5.80020 5.80021 2010-03-03 23:02:01 Bug fixed: - $c-uri_for will now escape unsafe characterss in captures ($c-request-captures) and correctly encode utf8 charracters. Can you try upgrading? And I'm _very_ interested in test cases / fixing this

[Catalyst] uri_for and unicode

2010-03-09 Thread Alex Povolotsky
Hello! uri_for seems to have some troubles with unicode. The following template part trtd[% item.name %]/td td a href=[% c.uri_for('/admin',formname,'edit', item.name) %]edit/a /td/tr result in warning Use of uninitialized value within %URI::Escape::escapes in substitution iterator at

Re: [Catalyst] uri_for and unicode

2010-03-09 Thread Alex Povolotsky
On 03/09/10 17:05, Bernhard Graf wrote: 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,

Re: [Catalyst] uri_for and unicode

2010-03-09 Thread Alex Povolotsky
On 03/09/10 16:55, Tomas Doran wrote: Alex Povolotsky wrote: Catalyst is 5.80020 5.80021 2010-03-03 23:02:01 Bug fixed: - $c-uri_for will now escape unsafe characterss in captures ($c-request-captures) and correctly encode utf8 charracters. Can you try upgrading? And I'm _very_