Subject: | Handle utf8 or utf-8 response from delicious |
Delicious returns "utf8" while the test script expects instead "utf-8".
Patch (attached) supports either.
Subject: | 0001-Support-either-utf8-or-utf-8-encoding-response.patch |
From f22c3e11a75b7326795a34c04d77254dbf044a34 Mon Sep 17 00:00:00 2001
From: Jeremy Mates <jmates@sial.org>
Date: Sat, 25 Apr 2009 21:40:17 +0000
Subject: [PATCH] Support either utf8 or utf-8 encoding response.
---
t/live/encoding.t | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/t/live/encoding.t b/t/live/encoding.t
index 8855ae0..336cc86 100644
--- a/t/live/encoding.t
+++ b/t/live/encoding.t
@@ -5,7 +5,7 @@ use warnings;
use constant PAIRS => {
'http://delicious.com/'
- => 'utf-8',
+ => 'utf-?8',
'http://www.liveinternet.ru/users/dashdi/blog'
=> 'cp1251',
'http://oops-music.com/'
--
1.6.1.3