0

I have saved some text in a mySQL Database.

(field collation is utf8_unicode_ci but I also tried with latin_).

When displayed in my HTML is shows a questionmark sign is a box (error, missing icon). The HTML file is utf-8. It's not the font since when I write it manually in the document it shows it, either with ® or $#174;

I've done this a million times and don't know why this happens now.

Prashant Srivastav
  • 1,723
  • 17
  • 28
giant
  • 11
  • 5

1 Answers1

0

Try this ...

after mysqli connection established in php use

mysqli_set_charset ($db, "utf8");
user1844933
  • 3,296
  • 2
  • 25
  • 42