From 074fbc730e77c2bfc913ca50e51045f958953e05 Mon Sep 17 00:00:00 2001 From: Christian Schneider Date: Tue, 31 Mar 2026 18:47:31 +0200 Subject: Remove combining characters at beginning of string in it::any2utf8() (mail8281) --- test/it.t | 1 + 1 file changed, 1 insertion(+) (limited to 'test/it.t') diff --git a/test/it.t b/test/it.t index b475fbc..dc60727 100755 --- a/test/it.t +++ b/test/it.t @@ -470,6 +470,7 @@ is(it::any2utf8([1, true, false, null]), [1, true, false, null], "any2utf8 shoul is(it::any2utf8([it::utf8_decode('Müller') => it::utf8_decode('Müller')]), ['Müller' => 'Müller'], "it::any2utf8 latin1 keys"); is(it::any2utf8("\xc2\xad"), "", "it::any2utf8 remove soft hyphens"); +is(it::any2utf8("\u{0338}\u{0338}a\u{0338}b"), "a\u{0338}b", "it::any2utf8 remove combining characters at beginning"); foreach ([ 'a' => 'ä', 'e' => 'ë', 'i' => 'ï', 'o' => 'ö', 'u' => 'ü' ] as $src => $dst) { -- cgit v1.2.3