I've been having some trouble with my website + database, the content was added to the database using a java app using some unknown charset and they are being displayed in PHP/HTML using UTF-8 <meta charset='UTF-8'>
but im getting a bunch of diamond shaped question marks.
I've tried changing the charsets around and using the htmlentities function but i'm not having much luck. I was wondering if its possible to loop through a database table removing all instances of some character (old apostrophes) and replacing it with the utf-8 (apostrophes) version?
I've also set the database charset to utf-8. It's just this old content i'm having trouble with.
Old apostrophe: ’
Desired apostrophe: '