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

Add std::wstring support for ODBC backend #1179

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

vadz
Copy link
Member

@vadz vadz commented Nov 14, 2024

This is for testing of squash-merged #1133 with some changes.

Unlike all the other contemporary compilers, it needs a special compiler
option (/utf-8) to interpret normal input files, without BOM, in UTF-8.
@vadz vadz marked this pull request as ready for review November 17, 2024 02:02
@vadz vadz force-pushed the wstring branch 2 times, most recently from ff040d7 to 57d1945 Compare November 17, 2024 15:00
Handle wide-strings similarly to how normal strings are already handled.

For now support for them is only available in the ODBC backend.

Also add conversion functions between UTF-{8,16,32} and wchar_t and the
tests for them. Note that some of these functions are not used yet, but
provide the complete set as they probably will be in the future.

Co-Authored-By: Vadim Zeitlin <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants