Mysql cannot be inserted into Chinese

problem description

Chinese cannot be inserted into the Mysql command line under Windows.

the environmental background of the problems and what methods you have tried

Environment: Win10 Mysql5.5
try:

1.
2.set names utf8
3. utf8  
4.CMD  chcp 65001

related codes

select "strict";

Apr.04,2022

this is because your terminal (CMD) does not recognize utf-8 encoding


CMD character set modification. Search for


CMD can only use GBK encoding.

Menu