xref: /PHP-8.3/ext/standard/tests/strings/utf8.phpt (revision d9f3ca70)
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--EXPECTF--
9Deprecated: Function utf8_encode() is deprecated in %s on line %d
10%E6 -> %C3%A6
11
12Deprecated: Function utf8_decode() is deprecated in %s on line %d
13%E6 <- %C3%A6
14