note 119690 deleted from function.html-entity-decode by salathe

From: Date: Thu, 04 Aug 2016 07:57:33 +0000
Subject: note 119690 deleted from function.html-entity-decode by salathe
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-206205@lists.php.net to get a copy of this message
Note Submitter: squish at batpudding dot com ---- Beware, there seem to be quite a few entities that are incorrect in the table. As of 7.0.2 "´" erroneously returns the symbol for "Â". It should be a back tick ´, but it's returning a fancy Â. html_entity_decode( "´", ENT_COMPAT, 'UTF-8' ); Might be better to use str_replace with a correct table. Pretty easy to make one from this: http://migo.sixbit.org/more/html-entities.html

« previous php.notes (#206205) next »