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

C++17 deprecated <codecvt> #74

Closed
mloskot opened this issue Dec 10, 2017 · 2 comments
Closed

C++17 deprecated <codecvt> #74

mloskot opened this issue Dec 10, 2017 · 2 comments

Comments

@mloskot
Copy link
Member

mloskot commented Dec 10, 2017

We may be interested to address deprecation of <codecvt> and std::wstring_convert and std::wbuffer_convert utilities in C++17 (P0618R0):

  • Keep using <codecvt> by default
  • Optionally, allow users to enable nanodbc with alternative transcoders (icu, iconv) via CMake option.

This way users concerned about security issues related to use of the <codecvt> will be able to choose an alternative.

@mloskot
Copy link
Member Author

mloskot commented Aug 22, 2018

There is no easy way to perform required conversions with the facets. Unless, we implement it on our own which is entirely out of nanodbc scope.

The deprecation does not mean removal. So, until the C++ standard proposes improved conversions or actually removes <codecvt>, we will continue using this <codecvt> features.

@mloskot mloskot closed this as completed Aug 22, 2018
@mloskot
Copy link
Member Author

mloskot commented Apr 26, 2022

Everyone, I opened #321 with discussion related to C++ standard version.

hadley added a commit to r-dbi/odbc that referenced this issue Dec 18, 2023
Since this needs to be fixed upstream and there's no obvious replacement available (nanodbc/nanodbc#74).
hadley added a commit to r-dbi/odbc that referenced this issue Dec 18, 2023
Since this needs to be fixed upstream and there's no obvious replacement available (nanodbc/nanodbc#74).
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

1 participant