Bug #104642 | gbk field converts to gb18030 failed | ||
---|---|---|---|
Submitted: | 17 Aug 2021 8:52 | Modified: | 17 Aug 2021 12:10 |
Reporter: | GONGTUI FU | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server | Severity: | S3 (Non-critical) |
Version: | 8.0.25 | OS: | Any |
Assigned to: | CPU Architecture: | Any | |
Tags: | gbk gb18030 |
[17 Aug 2021 8:52]
GONGTUI FU
[17 Aug 2021 12:10]
MySQL Verification Team
Hi Mr. FU, Thank you for your bug report. MySQL does check whether hex representation of the string is valid and permitted for all character sets. That 2-byte combo does not conform to the rules of the GBK character set. Hence, try to insert it with actual string values. Not a bug.