diff options
Diffstat (limited to 'test')
-rwxr-xr-x | test/it.t | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -424,6 +424,8 @@ foreach ([ 'a' => 'ä', 'e' => 'ë', 'i' => 'ï', 'o' => 'ö', 'u' => 'ü' ] as is(it::any2utf8("$src\xcc\x88"), $dst, "it::any2utf8 normalize combining diaeresis $dst to umlaut code $dst"); } +is(it::any2utf8("\x65\xcc\x81"), "é", "it::any2utf8 convert to normal form C"); + foreach (array($dummy, false, true, null, 1, "a", "Ä", "/", array()) as $var) is(it::json_decode(it::json_encode($var)), $var); is(it::json_decode('{"foo":"bar"}')->foo, "bar"); |