Issue Details (XML | Word | Printable)

Key: ODBC-161
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Alexander Potapchenko
Reporter: Jojakim Stahl
Votes: 0
Watchers: 0

If you were logged in you would be able to see more operations.
ODBC Driver

SQLPutData for text BLOBs doesn't do correct codepage translation for SQL_C_WCHAR source data

Created: 07/Feb/13 09:01 AM   Updated: 18/Jul/17 11:04 AM
Component/s: None
Affects Version/s: 2.0.1
Fix Version/s: 2.0.5, 2.1 Beta

File Attachments: 1. Text File bug-161-162.patch (6 kB)

Sub-Tasks  All   Open   

 Description  « Hide
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.

 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Jojakim Stahl added a comment - 03/Nov/14 10:21 AM
Uploaded patch for ODBC-161 and ODBC-162. The fixes for ODBC-162 affected the same code as ODBC-161, so I turned ODBC-162 in subtask of ODBC-161.

Alexander Potapchenko added a comment - 02/Jan/17 01:20 PM
Fixed in CVS