I've got a page that pulls through categories. However I have a charset issue in that all the bulleted items in the list are coming through as "•" so what I'd like to do is replace them with the correct HTML Enc Type of "•"
I've created script that can ECHO this out, BUT I need to try and achieve this on page load if possible?? So any ideas appreciated.
My code is :
[PHP]
<?php
$search = array("•");
$replace = array("•");
?>
[HTML]
<span style="color: rgb(255, 255, 255); font-size: 14pt;"><span style="font-family: Verdana;"><span style="font-weight: bold;"></span></span></span><span style="font-family: Verdana; color: rgb(186, 66, 101); font-weight: bold;"><br />
<br />
•</span><span style="font-family: Verdana; color: rgb(105, 105, 105);"><span style="color: rgb(105, 105, 105);"><span style="color: rgb(186, 66, 101);"></span> <span style="font-size: 8pt;">Impellers for drinks mixers</span></span></span>.<br style="font-family: Verdana; color: rgb(105, 105, 105);" />
<span style="font-family: Verdana; color: rgb(186, 66, 101); font-weight: bold;">•</span><span style="font-family: Verdana; color: rgb(105, 105, 105);"><span style="color: rgb(105, 105, 105);"><span style="color: rgb(186, 66, 101);"></span></span></span><span style="font-family: Verdana; color: rgb(105, 105, 105);"> <span style="font-size: 8pt;">Additional malt cups.</span> </span><br style="font-family: Verdana; color: rgb(105, 105, 105);" />
<span style="font-family: Verdana; color: rgb(186, 66, 101); font-weight: bold;">•</span><span style="font-family: Verdana; color: rgb(105, 105, 105);"><span style="color: rgb(105, 105, 105);"><span style="color: rgb(186, 66, 101);"></span></span></span><span style="font-family: Verdana; color: rgb(105, 105, 105);"> <span style="font-size: 8pt;">Blender containers</span></span>.<br style="font-family: Verdana; color: rgb(105, 105, 105);" />
<span style="font-family: Verdana; color: rgb(105, 105, 105);"><span style="color: rgb(255, 69, 0);"></span></span><br />
<span style="font-family: Verdana;"><span style="color: rgb(91, 91, 91);"><br />
</span></span><br />
<?php echo str_replace($search,$replace,"•"); ?>