2 url parser multibyte/locale
6 if (!defined("http\\Url::PARSE_MBLOC") or
8 die("skip need http\\Url::PARSE_MBLOC support and LC_CTYPE=*.UTF-8");
19 "s\xc3\xa7heme://h\xc6\x9fst",
20 "s\xc3\xa7heme://h\xc6\x9fst:23/päth/öf/fıle"
23 foreach ($urls as $url) {
24 printf("\n%s\n", $url);
25 var_dump(new http\Url($url, null, http\Url::PARSE_MBLOC));
33 object(http\Url)#%d (8) {
53 object(http\Url)#%d (8) {
72 sçheme://hƟst:23/päth/öf/fıle
73 object(http\Url)#%d (8) {
85 string(16) "/päth/öf/fıle"