[MDEV-6715] GBK: bad results for SELECT "\{BF5C}\t' Created: 2014-09-09 Updated: 2018-01-10 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 5.3.12, 5.5.39, 10.0.13 |
| Fix Version/s: | 5.5 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Alexander Barkov | Assignee: | Alexander Barkov |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Description |
|
Multi-byte GBK characters with 0x5C do not work well in To repeat the bug, run a gnome-terminal session and set
Run this command:
and execute this script:
The output does not look correct:
According to the manual section "String Literals":
That is '\縗' should be interpreted as just '縗 (0xBF5C), The expected result should be BF5C09 for both columns. |