mirror of
https://github.com/php/php-src.git
synced 2024-12-16 05:15:03 +08:00
13 lines
296 B
PHP
13 lines
296 B
PHP
--TEST--
|
|
UTF-8<->ISO Latin 1 encoding/decoding test
|
|
--SKIPIF--
|
|
<?php include("skipif.inc"); ?>
|
|
--FILE--
|
|
<?php
|
|
printf("%s -> %s\n", urlencode("æ"), urlencode(utf8_encode("æ")));
|
|
printf("%s <- %s\n", urlencode(utf8_decode(urldecode("%C3%A6"))), "%C3%A6");
|
|
?>
|
|
--EXPECT--
|
|
%E6 -> %C3%A6
|
|
%E6 <- %C3%A6
|