I'm not sure if anyone here can help but I sure hope so ...

I have installed Samba on a RH Linux 7.1 machine. Our office uses japanese 
windows machines to put files on the samba server. These files have japanese 
filenames.

I also have PHP 4 installed on the same Linux machine. I have been
successful at having PHP get a listing of the directory names and output 
them on a web page. The dir names come out in japanese just fine.

The problem I have is that I then try and link those dir names to an
index.php file in the dir (having a <A HREF="dirname/index.php"> tag).
Eventhough the dir name comes out fine on the web browser it is actually 
mangled in the source HTML that PHP creates. (i.e. I have somethign like  
this:

<A HREF="ディズニーランド/index.php"> ディズニーランド </A>

And when I click on the link I get:

http://10.2.100.85/intranet/HR/????????/index.php

(actually the ??????? is not really "?"'s but the proper japanese characters 
for the dir name. My emailer doesn't support japanese it seems).

So everything seems ok, but when I click the link my Apache web server gives 
me a 404 error:

The requested URL /intranet/HR/霆「蜍、隕丞ョ/index.php was not found on this 
server.


So it seems the URL is fine but Apache is not handling it well as it can't 
find the file.

Does anyone have any ideas how I can get my links to work? Is it a PHP 
problem, an Apache problem, or a samba problem? (Why can't they all just get 
along? ;)

Thanks!

Jc

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


-- 
PHP Internationalization Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to