I have following string:
$str='Enzyme™ is a trademark';
Now I want to put this string in a CSV file like: 'Enzyme™ is a trademark'
, `because if "™" placed like as it is in CSV file, Magento import product setup simply escapes it.
Can anyone please help me on this issue as I googled a lot but not found a correct suggestion. Sorry 4 my bad english.
I tried following code:
htmlentities($db->col['title'], ENT_QUOTES | ENT_IGNORE, "UTF-8");//but it simply removes '™'<br>
htmlentities($db->col['title'], ENT_QUOTES , "UTF-8"); //removes whole string <br>