[Dancer-users] Problem with UTF8 at forward
Alberto Simoes
ambs at perl-hackers.net
Sun Apr 10 17:04:57 CEST 2011
On 10/04/2011 16:02, Takeshi OKURA wrote:
> Good evening Simoes.
>
> 2011/4/10 Alberto Simoes<ambs at perl-hackers.net>:
>
>> I think this problem is already solved in Git (if not, there is a pull
>> request for that already). So, please try updating your Dancer version to
>> github devel head.
>
> Thank you for useful information.
> I found a similar problem at GitHub.
>
> I update Dancer to version 1.3029_03.
>
> But my issue does not resolved.
Yes, it is not.
The fix: https://github.com/sukria/Dancer/pull/446 is not yet merged.
Cheers
ambs
> My test result( perl bin/test.pl ) is
> --------------------------------------------------------------------------
> Subroutine main::pass redefined at bin/test.pl line 4
> Prototype mismatch: sub main::pass (;$) vs none at bin/test.pl line 4
> [21741] core @0.000050> initializing appdir to:
> `/home/okura/perl/dancer/utf8test' in
> /usr/local/share/perl/5.10.1/Dancer.pm l. 265
> ok 1 - got expected response content for GET /direct
> not ok 2 - got expected response content for GET /forward
> # Failed test 'got expected response content for GET /forward'
> # at /usr/local/share/perl/5.10.1/Dancer/Test.pm line 156.
> (snip because of japanese multibyte character in here)
> # '
> # doesn't match '(?-xism:\x{3042}\x{3044}\x{3046}\x{3048}\x{304a})'
> 1..2
> # Looks like you failed 1 test of 2.
> --------------------------------------------------------------------------
>
> I used Ubuntu 10.04, perl 5.10.1.
>
More information about the Dancer-users
mailing list