On Friday 28 December 2007 17:56:45 Andrew Rodland wrote:
> On Monday 24 December 2007 07:58:34 am Knut-Olav Hoven wrote:
> > I wasn't very clear on this, sorry.
> > "Check my å" is not inside the code, it comes from my "po/mo"-files
> > (i18n).
> >
> > It looks actually more like this:
> >
> > $c
On Monday 24 December 2007 07:58:34 am Knut-Olav Hoven wrote:
> I wasn't very clear on this, sorry.
> "Check my å" is not inside the code, it comes from my "po/mo"-files (i18n).
>
> It looks actually more like this:
>
> $c->redirect(
> $c->uri_for(
> '/login',
> {error_msg => $c->loc("Ch
On Monday 24 December 2007 11:06:20 Oleg Pronin wrote:
> It seems your problem is that your string "Check my å" is not in perl's
> internal format (uri_for expects it). Just UTF-8 octets.
> Always use utf-8 flagged strings inside your application.
>
> for example, this should work:
>
> The followin
It seems your problem is that your string "Check my å" is not in perl's
internal format (uri_for expects it). Just UTF-8 octets.
Always use utf-8 flagged strings inside your application.
for example, this should work:
The following code:
$c->redirect(
$c->uri_for(
'/login',
{error_msg
The solution to my last problem (attached) brought up a new problem regarding
UTF-8.
= Problem =
The following code:
$c->redirect(
$c::uri_for(
'/login',
{error_msg => "Check my å"}
);
);
Gives me this URL in my browser:
http://localhost:3000/login?error_msg=Check+my+%C3%83%C