Strange character is shown as � in while my page encoding is in utf-8 but if encoding is ISO-8859-1 than it works fine. I am storing data in mysql database with column encoding utf-8 and connection encoding utf-8. all other characters such as ß are shown properly and stored same in database.
Can some one explain which character is this and how to remove it?
Thanks.
The U+FFFD is a replacement character used to replace an unknown or unprintable character. Basically, this means you are trying to show an unprintable character.
Maybe this will offer some guidance on how to proceed: How to handle user input of invalid UTF-8 characters?