xref: /PHP-5.4/ext/xml/tests/xml006.phpt (revision c9f7fb8b)
1--TEST--
2UTF-8<->ISO Latin 1 encoding/decoding test
3--SKIPIF--
4<?php include("skipif.inc"); ?>
5--FILE--
6<?php
7printf("%s -> %s\n", urlencode("�"), urlencode(utf8_encode("�")));
8printf("%s <- %s\n", urlencode(utf8_decode(urldecode("%C3%A6"))), "%C3%A6");
9?>
10--EXPECT--
11%E6 -> %C3%A6
12%E6 <- %C3%A6
13