You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "Henrik Jensen, IT-Kommunikation" <He...@coop.dk> on 2003/05/07 15:05:09 UTC

[users@httpd] Unicode PHP support

hi there..

Have searched the web for this, but with no luck.

I have WinXP Pro and Apache 2.0.45 and PHP 4.3RC2 installed.

My problem is this:

If I have an html file with an non-us (danish) character in the file name it
works perfectly.
But if I rename the same file to *.php then it does not work. 
All other php files with standard us chars in the filename works ok too.

PHP returns:	Warning: Unknown(D:\Web\WWWroot2\indøx.php): failed to open
stream: No such file or directory in Unknown on line 0

However in the Apache log it says "GET /ind%C3%B8x.html HTTP/1.0" 200 89"
for the *.html file.

I have tried to set up a IIS 5 server with PHP support. There it works fine.
Both servers are set up to use the DLL version of PHP.

Have searched for Unicode and UTF-8 but have not find something useful in my
case.

For me it seems that Apache sends the wrong filename to the PHP DLL.

Hope anyone can help me get it to work.


Henrik

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org