<?php
include "skipif.inc";
if (!defined("http\\Url::PARSE_MBLOC") or
- !stristr(setlocale(LC_CTYPE, NULL), ".utf")) {
+ !stristr(setlocale(LC_CTYPE, "C.UTF-8"), ".utf")) {
die("skip need http\\Url::PARSE_MBLOC support and LC_CTYPE=*.UTF-8");
}
--FILE--
<?php
echo "Test\n";
+setlocale(LC_CTYPE, "C.UTF-8");
$urls = array(
"http://mike:paßwort@𐌀𐌁𐌂.it/for/€/?by=¢#ø"