![]() ![]() | ![]() |
1.1 misho 1: --TEST-- 2: UTF-8<->ISO Latin 1 encoding/decoding test 3: --SKIPIF-- 4: <?php include("skipif.inc"); ?> 5: --FILE-- 6: <?php 7: printf("%s -> %s\n", urlencode("æ"), urlencode(utf8_encode("æ"))); 8: printf("%s <- %s\n", urlencode(utf8_decode(urldecode("%C3%A6"))), "%C3%A6"); 9: ?> 10: --EXPECT-- 11: %E6 -> %C3%A6 12: %E6 <- %C3%A6