I'm having a hard time trying to replace this weird right single quote character. I'm using str_replace like this:
str_replace("’", '\u1234', $string);
It looks like I cannot figure out what character the quote really is. Even when I copy paste it directly from PHPMyAdmin it still doesn't work. Do I have to escape it somehow?
The character: http://www.lukomon.com/Afbeelding%204.png
- MySQL Charset: UTF-8 Unicode (utf8)
- MySQL Collations: utf8_unicode_ci
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
EDIT: It turned out to be a Microsoft left single quote which I could replace with this function from Phill Paffords comment. Not sure which answer I should mark now..