You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
createtablet(a varchar(20))CHARSET=binary;
createtablet2(a varchar(20) )CHARSET=latin1;
insert into t values('😉');
insert into t2 values('😉');
selectcount(*) from t join t2 ont.a=t2.a;
2. What did you expect to see? (Required)
error when insert or successful when select
3. What did you see instead (Required)
ERROR 1300 (HY000): Invalid latin1 character string: 'F09F9889'
4. What is your TiDB version? (Required)
Release Version: v5.4.0-alpha-278-ga04601477
Edition: Community
Git Commit Hash: a046014
Git Branch: master
UTC Build Time: 2021-12-01 03:36:18
GoVersion: go1.16.4
Race Enabled: false
TiKV Min Version: v3.0.0-60965b006877ca7234adaced7890d7b029ed1306
Check Table Before Drop: false
The text was updated successfully, but these errors were encountered:
TiDB incorrectly treats latin1 as a subset of utf8. This can lead to unexpected behaviors when you store characters that differ between latin1 and utf8 encodings. It is strongly recommended to the utf8mb4 character set. See TiDB #18955 for more details.
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
2. What did you expect to see? (Required)
error when insert or successful when select
3. What did you see instead (Required)
ERROR 1300 (HY000): Invalid latin1 character string: 'F09F9889'
4. What is your TiDB version? (Required)
Release Version: v5.4.0-alpha-278-ga04601477
Edition: Community
Git Commit Hash: a046014
Git Branch: master
UTC Build Time: 2021-12-01 03:36:18
GoVersion: go1.16.4
Race Enabled: false
TiKV Min Version: v3.0.0-60965b006877ca7234adaced7890d7b029ed1306
Check Table Before Drop: false
The text was updated successfully, but these errors were encountered: