Open URL with UTF8 name
Luyen Tran <[email protected]>
| Newsgroups | gmane.comp.php.internationalization |
|---|---|
| Message-ID | <[email protected]> |
Hi,
I try to use PHP fopen to open the URL like the
following
http://dir.gigablast.com/World/Català /Economia_i_empresa/Serveis/Arts_i_entreteniment.
What i got is the error Could not open the file.
Here is the code
$filename =
"http://dir.gigablast.com/World/Català /Economia_i_empresa/Serveis/Arts_i_entreteniment";
fopen($filename, "r") || die ("Could not open file");
However, using IE to browse to this page is
successful.
Could anyone help me with that.
Thank alot,
Luyen Tran
--
PHP Internationalization Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php