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

String conversion from wide char to utf8 does not handle surrogate pairs correctly [ODBC159] #154

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

Comments

@firebird-automations
Copy link

Submitted by: Jojakim Stahl (jstahl)

Attachments:
wcstombs.patch

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

Commits: db6f34c 0aa0c01

@firebird-automations
Copy link
Author

Commented by: Jojakim Stahl (jstahl)

The attached patch solves this issue.

@firebird-automations
Copy link
Author

Modified by: Jojakim Stahl (jstahl)

Attachment: wcstombs.patch [ 12283 ]

@firebird-automations
Copy link
Author

Modified by: @alexpotapchenko

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

resolution: Fixed [ 1 ]

Fix Version: 2.0.2 [ 10465 ]

@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