I have a database which contains some blocks of text. These text blocks contain extended characters such as: ’ ‘ … “ and ”
. When displayed directly to a web page they all show like this: �.
I've tried doing as str_replace to show normal characters, with no luck. I've tried iconv, which will only work when set to ignore, which makes the punctuation look wrong. I've tried html_encode, which also doesn't work. (I'm also using the parsedown script to format the text.)
The funny thing is, the website I'm replacing supports these characters fine, so I don't know what I'm doing wrong! (I don't have access to this website, or source code, or database, which is why I'm replacing it!)
Can anyone provide any help??
I just want to stop showing � and start showing proper characters!