From 7b603ba54278b493d4b9704353a47cab84d00961 Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Tue, 10 Apr 2012 14:25:32 +0000 Subject: simpler double encoding test avoids false positives --- tests/it_html.t | 1 - 1 file changed, 1 deletion(-) (limited to 'tests') diff --git a/tests/it_html.t b/tests/it_html.t index 174c487..3ac69f6 100755 --- a/tests/it_html.t +++ b/tests/it_html.t @@ -176,7 +176,6 @@ is(it_html::fix_encoding("Aslı"), "Aslı", "it_html::fix_encoding utf-8 non-lat is(it_html::fix_encoding("é»"), "é»", "it_html::fix_encoding utf-8 latin1 special combination"); is(it_html::fix_encoding(utf8_encode("Müller"), true), "Müller", "it_html::fix_encoding double encoded latin1"); -is(it_html::fix_encoding(utf8_encode("Aslı"), true), "Aslı", "it_html::fix_encoding double encoded non-latin1"); is(it_html::fix_encoding(utf8_encode("é»"), true), "é»", "it_html::fix_encoding double encoded latin1 special combination"); is(it_html::fix_encoding(utf8_decode("Müller"), true), "Müller", "it_html::fix_encoding incorrectly encoded latin1"); -- cgit v1.2.3