note 39383 added to function.strtr
| From: | rortiz_reyes at hotmail dot com | Date: | Tue, 27 Jan 2004 02:15:46 +0000 |
| Subject: | note 39383 added to function.strtr | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-64219@lists.php.net to get a copy of this message | ||
If you have trouble accessing a file which has an accented or tilde letter (á,é,í,ó,ú, or ñ)
via Internet Explorer use the following translation table:
$trans = array("á" => "%E1", "é" => "%E9",
"í" => "%ED", "ó" => "%F3","ú" =>
"%FA", "ñ" => "%D1",
"Á" => "%A1", "É" => "%A9", "Í" =>
"%AD", "Ó" => "%B3","Ú" => "%BA",
"ñ" => "%F1");
To obtain the translation for other special characters not used in English (for example, ù), type a
fictitious filename on the Netscape 7.1 address bar (including URL, for example www.url.com/ù.jpg)
and press enter. Netscape traslates the character while Explorer simply can't handle it.
Seems like another bug on Explorer 6.0...
Regards,
Ricardo Ortiz R.
----
Manual Page -- http://www.php.net/manual/en/function.strtr.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+39383
Delete -- http://master.php.net/manage/user-notes.php?action=delete+39383&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+39383&report=yes
Search -- http://master.php.net/manage/user-notes.php