Open URL with UTF8 name

From: Date: Mon, 25 Jul 2005 02:47:54 +0000
Subject: Open URL with UTF8 name
Groups: php.i18n 
Request: Send a blank email to php-i18n+get-869@lists.php.net to get a copy of this message
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

« previous php.i18n (#869) next »