Config.w32: link to libssl.lib & libcrypto.lib
[m6w6/ext-http] / tests / urlparser010.phpt
index ae63ae7b4050e4eba43b60049a565d9736e0342e..f5382085e17a481ac626c3fa0a50a75bdeb9058e 100644 (file)
@@ -4,7 +4,7 @@ url parser multibyte/locale/topct
 <?php
 include "skipif.inc";
 if (!defined("http\\Url::PARSE_MBLOC") or
-       !stristr(setlocale(LC_CTYPE, NULL), ".utf")) {
+       !utf8locale()) {
        die("skip need http\\Url::PARSE_MBLOC support and LC_CTYPE=*.UTF-8");
 }
 
@@ -12,6 +12,7 @@ if (!defined("http\\Url::PARSE_MBLOC") or
 --FILE--
 <?php
 echo "Test\n";
+setlocale(LC_CTYPE, "C.UTF-8");
 
 $urls = array(
        "http://mike:paßwort@𐌀𐌁𐌂.it/for/€/?by=¢#ø"