Bug #28708 | MySQL ODBC cannot escape BIG5 strings correctly | ||
---|---|---|---|
Submitted: | 27 May 2007 18:36 | Modified: | 27 May 2007 21:12 |
Reporter: | Michael Lee | Email Updates: | |
Status: | Duplicate | Impact on me: | |
Category: | Connector / ODBC | Severity: | S2 (Serious) |
Version: | 3.51.X | OS: | Windows |
Assigned to: | CPU Architecture: | Any | |
Tags: | backslash, BIG5, ODBC |
[27 May 2007 18:36]
Michael Lee
[27 May 2007 19:45]
Jim Winstead
This is a duplicate of Bug #9498.
[27 May 2007 21:12]
Michael Lee
Bug #9498 was reported on 2005-3-30 -- it's 2 years ago!! Bug #9498 reported that MySQL ODBC will cause data corruption when MySQL server is in "NO_BACKSLASH_ESCAPE" mode. However, this bug(#28708) I reported is not the same problem because it is not related to "NO_BACKSLASH_ESCAPE" mode. Now, I've download the MySQL ODBC source code, and will sutdy it and try to correct this problem. However, as a Delphi developer, I may not have the expertise to modify the source code. Please let me know your roadmap. If you don't have any plan on fixing bug #9498 or Bug #28708, please let me know. I can then try to modify the ODBC driver by myself (and send it back to you if I succeeded) or switch to another DB server. This is very important to me because there is NO workaround at this time. I cannot work with a system which may fail on certain data. Thanks for your help!
[31 May 2007 17:50]
Jim Winstead
The problem stems from the fact that the driver does not currently understand anything except the default character set (latin1). Once you've issued a "SET NAMES big5" query, what the driver thinks the current character set is and what the server thinks is now out-of-sync. We'll need to add support for supplying the default character set as part of the DSN, and then things should just work correctly.