include "skipif.inc";
if (!defined("http\\Url::PARSE_MBLOC") or
!defined("http\\Url::PARSE_TOIDN_2003") or
- !stristr(setlocale(LC_CTYPE, NULL), ".utf")) {
+ !utf8locale()) {
die("skip need http\\Url::PARSE_MBLOC|http\\Url::PARSE_TOIDN_2003 support and LC_CTYPE=*.UTF-8");
}
?>
--FILE--
<?php
echo "Test\n";
+include "skipif.inc";
+utf8locale();
$urls = array(
"s\xc3\xa7heme:",