I am creating some code to auto-generate a meta-desc for product pages in VM.
I have stripped tags, but I am still seeing  
in the resulting text.
The code I have at present is:
if ($product->metadesc) {
$document->setDescription($product->metadesc);
} else {
$document->setDescription(strip_tags("Buy ".$category->category_name." | ".$product->product_name." | ".$product->product_desc));
}
So for example, this produces:
Buy T-Shirts | PTB Keep Calm | PTB Keep Calm This creative design is printed on a Premium Fitted CVC Crew Tee Features:60% combed rin...
Is there anything I can do to remove these non-breaking space entities?
$document->setDescription(strip_tags(html_entity_decode("Buy ".$category->category_name." | ".$product->product_name." | ".$product->product_desc)));