0

I have a web page that should display the characters on web page in Chinese language, however currently it is not displaying so: Till now, I have implemented below written code, but still not able to fix:

in my header file:

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

mySql table is being set to:

CHARACTER SET utf8 COLLATE utf8_general_ci

The table shows Chinese characters without any fail. What else needs to be done to show the text on the web page?

user4943236
  • 5,914
  • 11
  • 27
  • 40

1 Answers1

0

This helped in solving my problem:

$mysqli->set_charset('utf8mb4');
user4943236
  • 5,914
  • 11
  • 27
  • 40