]> git.mxchange.org Git - mailer.git/blobdiff - inc/functions.php
Some HTML issues fixed
[mailer.git] / inc / functions.php
index 0b6877db346ddc888eb2fea24de29c0ed063a09d..66da69fa61f5cb46a9a58d806fe5103edcf7c4e3 100644 (file)
@@ -2976,8 +2976,8 @@ function smartAddSlashes ($unquoted) {
 
 // Decode entities in a nicer way
 function decodeEntities ($str) {
-       // @TODO We may want to switch over to UTF-8 here!
-       $decodedString = html_entity_decode($str, ENT_NOQUOTES, "ISO-8859-15");
+       // Decode the entities to UTF-8 now
+       $decodedString = html_entity_decode($str, ENT_NOQUOTES, "UTF-8");
 
        // Return decoded string
        return $decodedString;