--TEST-- Exhaustive test of verification and conversion of Big5 text --EXTENSIONS-- mbstring --SKIPIF-- --FILE-- UTF-16BE\n"; testAllValidChars($fromUnicode, 'UTF-16BE', 'BIG5', false); findInvalidChars($fromUnicode, $invalid, $unused, array_fill_keys(range(0,0xFF), 2)); convertAllInvalidChars($invalid, $fromUnicode, 'UTF-16BE', 'BIG5', '%'); echo "Tested UTF-16BE -> BIG5\n"; ?> --EXPECT-- Tested BIG5 -> UTF-16BE Tested UTF-16BE -> BIG5