[Dancer-users] Problem with UTF8 at forward

Takeshi OKURA okura3 at gmail.com
Sun Apr 10 17:02:32 CEST 2011

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.
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})'
# Looks like you failed 1 test of 2.

I used Ubuntu 10.04, perl 5.10.1.

Takeshi OKURA.

More information about the Dancer-users mailing list