note 42514 deleted from function.html-entity-decode by nlopess

From: 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: "&#1055;&#1088;&#1080;&#1074;&#1077;&#1090;" PHP code: <?php $m_message = html_entity_decode($_POST["m_message"], ENT_NOQUOTES, "win-1251"); ?> Now $m_message containes good text ;)

« previous php.notes (#86487) next »