note 72377 deleted from function.htmlspecialchars by cmb

From: Date: Sun, 27 Oct 2019 09:19:10 +0000
Subject: note 72377 deleted from function.htmlspecialchars by cmb
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-212854@lists.php.net to get a copy of this message
Note Submitter: frank at codedor dot be ---- If you seem to have a problem with rendering dynamic RSS files from a database - try using htmlspecialchars() or htmlentities() on the text you are rendering. Since XML and RSS is very strict about what is allowed inside nodes, you need to make sure everything is "A-OK" according to XML standards ... Especially if the database you're pulling data from is fi. Latin-Swedish encoding, which seems to be the standard setting for MySQL databases.

« previous php.notes (#212854) next »