Hi,

does anybody know why this test is failing?

I have enhanced t/response/TestApache/util.pm with a few t_debug()s before and 
after the Encode::decode_utf8 call. The utf8 bit is obviously set but the ä 
in Mär doesn't match \w.

# >>>> locale_is_utf8=1
# >>>> is_utf8(Fr, 14 Mär 2008 10:56:54 GMT):
# >>>> is_utf8(Fr, 14 Mär 2008 10:56:54 GMT): 1
# testing : Apache2::Util::ht_time($pool)
# expected: (?-xism:^\w+, \d\d \w+ \d\d\d\d \d\d:\d\d:\d\d)
# received: Fr, 14 Mär 2008 10:56:54 GMT
not ok 1
...

The russian version succeeds:

# >>>> locale_is_utf8=1
# >>>> is_utf8(Птн, 14 Мар 2008 11:25:11 GMT):
# >>>> is_utf8(Птн, 14 Мар 2008 11:25:11 GMT): 1
# testing : Apache2::Util::ht_time($pool)
# expected: (?-xism:^\w+, \d\d \w+ \d\d\d\d \d\d:\d\d:\d\d)
# received: Птн, 14 Мар 2008 11:25:11 GMT
ok 1

Torsten

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to