Re: Character translation in IE
| From: | Juan | Date: | Mon, 05 Feb 2001 13:08:27 +0000 |
| Subject: | Re: Character translation in IE | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-38224@lists.php.net to get a copy of this message | ||
use the following :
string rawurlencode (string str)
It translate any non standard URL ascii char into there %XX equivalent.
PA> Hi,
PA> I am using php, mysql and apache on a linuxserver to create some user
PA> home pages,
PA> and I have a problem with names including special chars.
PA> If I retrieve an url including for example
PA> /photos/BendsøeMartin97.jpg
PA> everything is ok using netscape, but it doesn't display correct
PA> using IE.
PA> Apache error log reports: File does not exist:
PA> /photos/BendsøeMartin97.jpg
PA> Using netscape everything is ok and Apache access logs: GET
PA> /photos/Bends%F8eMartin97.jpg
PA> Is there a function to convert the special characters. I checked the
PA> manual, but I only
PA> found translation tables to html entities.
PA> Thanks for any help,
PA> Patrick.
_______________________________________
Massuelles Jean-Baptiste(Juan@acomme.fr)
Société A Comme...
Tel : 03 80 700 702