Issue Details (XML | Word | Printable)

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

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

String conversion from wide char to utf8 does not handle surrogate pairs correctly

Created: 05/Feb/13 04:00 PM   Updated: 01/Jan/15 03:34 PM
Component/s: None
Affects Version/s: 2.0.1, 2.0.2
Fix Version/s: 2.0.2

File Attachments: 1. Text File wcstombs.patch (0.5 kB)

Environment: Win7 x64, Fb 2.5 x64, Odbc cvs head x32


 Description  « Hide
Conversion function from wide char string to utf8 string (utf8_wcstombs) does not handle surrogate pairs correctly.


 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Jojakim Stahl added a comment - 05/Feb/13 04:23 PM
The attached patch solves this issue.