From a60fb69ff8e7755ab969298ab85a2b63bbcc8b14 Mon Sep 17 00:00:00 2001 From: Christian Weber Date: Fri, 30 Mar 2012 16:13:15 +0000 Subject: add GREEN HEART unit test for it_html::fix_encoding() --- tests/it_html.t | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests') diff --git a/tests/it_html.t b/tests/it_html.t index 770d11a..2323e5e 100755 --- a/tests/it_html.t +++ b/tests/it_html.t @@ -181,4 +181,6 @@ is(it_html::fix_encoding(utf8_encode("é»"), true), "é»", "it_html::fix_encod is(it_html::fix_encoding(utf8_decode("Müller"), true), "Müller", "it_html::fix_encoding incorrectly encoded latin1"); +is(it_html::fix_encoding("a💚b"), "a💚b", "it_html::fix_encoding incorrectly encoded GREEN HEART"); + ?> -- cgit v1.2.3