-
Notifications
You must be signed in to change notification settings - Fork 662
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using mycli sometimes Chinese gibber #725
Comments
Me,too. All tables can work well in Some tests have been made as follows:
create table student(
sno int,
sname varchar(6),
ssex varchar(1),
sage int unsigned,
sdept varchar(15)
) character set = utf8mb4;
insert into student values(15001, '张三2', '男', 20, 'CS');
select * from student; the output is gibber
but if I just remove first column, the problem should disappear... create table student(
sname varchar(6),
ssex varchar(1),
sage int unsigned,
sdept varchar(15)
) character set = utf8mb4;
insert into student values( '张三', '男', 20, 'CS');
select * from student; new output is correct
Besides, I tried many other aproaches to solve, e.g, switch all character set to utf8 or utf8mb4, but they don't work. |
If you are win10, you can try this: #877 (comment) |
Only some tables are garbled, and the character set has been set to utf8mb4
The text was updated successfully, but these errors were encountered: