note 42514 deleted from function.html-entity-decode by nlopess
| From: | nlopess@php.net | Date: | Tue, 15 Mar 2005 16:41:03 +0000 |
| Subject: | note 42514 deleted from function.html-entity-decode by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-86487@lists.php.net to get a copy of this message | ||
Note Submitter: Alex
----
Example for string decoding to cyrillic Win-1251 text.
String from HTML Form by Netscape 7.1:
"Привет"
PHP code:
<?php
$m_message = html_entity_decode($_POST["m_message"], ENT_NOQUOTES, "win-1251");
?>
Now $m_message containes good text ;)