Is it possible to delete a blog from the "I read these blogs" list?
t/apache/util fails
Hello Guest
  
  • Login
• Register…
• Start blog
  • Who, Where, When
• What can I do?
• What to Read?
  • Polls
• Avatars
• Interests
  • Cities and Countries
• Random blog
• Users search
  • Search
• Games
• Tests
• QAIX
  • Сообщества
• Talxy Chat
• Horoscope
• Online
 
Зарегистрируйся!

QAIX > Apache HTTP Server > t/apache/util fails 14 March 2008 14:24:03

  Recent blog posts: 
  Forums:   
  Discuss: 
  Recent forum topics: 
  Recent forum comments:
  Moderators:

t/apache/util fails

Torsten Foertsch 14 March 2008 14:24:03
 Hi,

does anybody know why this test is failing?

I have enhanced t/response/TestApac­he/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_t­ime($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_t­ime($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
Add comment
 

Add new comment

As:
Login:  Password:  
 
 
  
 
Пожалуйста, относитесь к собеседникам уважительно, не используйте нецензурные слова, не злоупотребляйте заглавными буквами, не публикуйте рекламу и объявления о купле/продаже, а также материалы нарушающие сетевой этикет или УК РФ.


QAIX > Apache HTTP Server > t/apache/util fails 14 March 2008 14:24:03

see also:
Do I Need preg_match?
How can I insert large amounts of text…
Re: category permissions
пройди тесты:
see also:
How to burn iTunes movies to DVD
Upgraded Perfect Solution For iPod Fans
Joke your friends with prankish…

  Copyright © 2001—2008 QAIX
Idea: Miсhael Monashev
Помощь и задать вопросы можно в сообществе support.qaix.com.
Сообщения об ошибках оставляем в сообществе bugs.qaix.com.
Предложения и комментарии пишем в сообществе suggest.qaix.com.
Информация для родителей.
Write us at:
If you would like to report an abuse of our service, such as a spam message, please .