Often when outputting strings from a database onto a webpage, special characters get displayed as some other weird characters (in my example, an em-dash gets tu
You can try this.Use following php inbuilt function to avoid those characters on given string. In your case, data from database.
html_entity_decode($given_string,ENT_QUOTES, "ISO-8859-1");