I'm working with text that has been produced in MS Word and pasted into a form textbox. It contains dot characters introducing list items that are coded as \x95. I want to convert these to Unicode u2022 using preg_replace.
I can't persuade that function to recognise the character, either as a literal or as unicode u0095 in lines like
preg_replace("/•/","\u2022", $text);
preg_replace("/\u0095/u","\u2022", $text);
What is the correct way to do this?