Skip to content
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

SQLPutData for text BLOBs doesn't do correct codepage translation for SQL_C_WCHAR source data [ODBC161] #156

Closed
firebird-automations opened this issue Feb 7, 2013 · 5 comments

Comments

@firebird-automations
Copy link

Submitted by: Jojakim Stahl (jstahl)

Jira_subtask_outward ODBC162

Attachments:
bug-161-162.patch

I observed, that when I call SQLPutData for a BLOB SUB_TYPE TEXT CHARACTER SET UTF8 column which is bound to a SQL_C_WCHAR data_at_exec source type, the codepage conversion is not done correctly. Apparently, as destination CP, always the current Windows Codepage is used, instead of UTF8.

Commits: 9fca7df d94a113

@firebird-automations
Copy link
Author

Commented by: Jojakim Stahl (jstahl)

Uploaded patch for ODBC161 and ODBC162. The fixes for ODBC162 affected the same code as ODBC161, so I turned ODBC162 in subtask of ODBC161.

@firebird-automations
Copy link
Author

Modified by: Jojakim Stahl (jstahl)

Attachment: bug-161-162.patch [ 12609 ]

@firebird-automations
Copy link
Author

Commented by: @alexpotapchenko

Fixed in CVS

@firebird-automations
Copy link
Author

Modified by: @alexpotapchenko

status: Open [ 1 ] => Resolved [ 5 ]

resolution: Fixed [ 1 ]

Fix Version: 2.0.5 [ 10771 ]

Fix Version: 2.1 Beta [ 10410 ]

@firebird-automations
Copy link
Author

Modified by: @alexpotapchenko

status: Resolved [ 5 ] => Closed [ 6 ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants