xref: /PHP-8.1/ext/standard/tests/strings/utf8.phpt (revision 1a512eed)
1--TEST--
2UTF-8<->ISO Latin 1 encoding/decoding test
3--FILE--
4<?php
5printf("%s -> %s\n", urlencode("�"), urlencode(utf8_encode("�")));
6printf("%s <- %s\n", urlencode(utf8_decode(urldecode("%C3%A6"))), "%C3%A6");
7?>
8--EXPECT--
9%E6 -> %C3%A6
10%E6 <- %C3%A6
11