note 84154 added to function.ob-iconv-handler
| From: | Morkxy at hotmail dot com | Date: | Tue, 01 Jul 2008 09:48:52 +0000 |
| Subject: | note 84154 added to function.ob-iconv-handler | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-141030@lists.php.net to get a copy of this message | ||
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 !
----
Server IP: 195.221.21.36
Probable Submitter: 80.13.0.114
----
Manual Page -- http://www.php.net/manual/en/function.ob-iconv-handler.php
Edit -- https://master.php.net/note/edit/84154
Del: integrated -- https://master.php.net/note/delete/84154/integrated
Del: useless -- https://master.php.net/note/delete/84154/useless
Del: bad code -- https://master.php.net/note/delete/84154/bad+code
Del: spam -- https://master.php.net/note/delete/84154/spam
Del: non-english -- https://master.php.net/note/delete/84154/non-english
Del: in docs -- https://master.php.net/note/delete/84154/in+docs
Del: other reasons-- https://master.php.net/note/delete/84154
Reject -- https://master.php.net/note/reject/84154
Search -- https://master.php.net/manage/user-notes.php