Adam Prime wrote:
This looks like a localization thing to me. I'm guessing that on your system for some reason ^\w+$ doesn't match against 'Mär'. It fails on my gentoo box too:

perl -e "print ('Mär' =~ /^\w+$/)"

prints undef.

however,

perl -Mutf8 -e "print ('Mär' =~ /^\w+$/) , qq[\n\n]"

works, so i'm guessing we just need to through a "use utf8" into the test or something?

In the meantime, that seems like a bug in the test to me, more than a problem with mod_perl.

I just looked at this a bit further, and it would appear that the test does attempt handle utf8 locals. The actual code for the tests resides in t/response/TestApache/util.pm. If you want to try to figure out what's really going on, that's where you should look.

Adam

Reply via email to