note 84154 deleted from function.ob-iconv-handler by mgf
| From: | mgf@php.net | Date: | Tue, 01 Jul 2008 09:58:13 +0000 |
| Subject: | note 84154 deleted from function.ob-iconv-handler by mgf | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-141031@lists.php.net to get a copy of this message | ||
Note Submitter: Morkxy at hotmail dot com
Reason: non-english
----
Bonjours,
J'ai testé cela :
<html><head>
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body>
<?
$nom="Äerný";
print (iconv("utf8","ASCII//TRANSLIT",$nom));
?>
</body>
</html>
Et lorsque je vais sur cette page en http, j'ai le mot "?ern?" qui s'ecrit
(mauvais donc..)
alors que si j'execute la page via un shell (je suis sour linux)
root@serveur# php5 /var/www/mapage.php
ca me donne le mot (juste!) : Cerny
Une explication ? Je galaire depuis des heures la dessus !
MERCI !