Jump to content
  • 0

Character name show ??? used chinese


汪利华

Question

3 answers to this question

Recommended Posts

Hi,antz.

I check the db character set,it's "latin1",then I change it to "utf-8",It works!

thank you very much!!!

ps:I suggest add the "DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci" in the end of all create database sql at InstallDatabases.bat/InstallDatabases.sh.

like this:

%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% -e "create database %wdb% DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci";

 

Link to comment
Share on other sites

14 hours ago, 汪利华 said:

Hi,antz.

I check the db character set,it's "latin1",then I change it to "utf-8",It works!

thank you very much!!!

ps:I suggest add the "DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci" in the end of all create database sql at InstallDatabases.bat/InstallDatabases.sh.

like this:

%mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% -e "create database %wdb% DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci";

 

Thank you, this update makes sense !

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use