Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

wstring_convert is deprecated in C++17, and will be removed in C++26 #16507

clin1234 started this conversation in Ideas
Discussion options

In the Windows-specific part of fs_create_directory_with_parents, std::wstring_convert and std::codecvt_utf8 has been deprecated starting in C++17, the latter because of https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2023/p2871r3.pdf, and the former because all standard facets that the function could use will be removed in C++26.

I've come across https://github.com/nemtrif/utfcpp, a header-only library to handle UTF conversions. Worth considering?

You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
1 participant

AltStyle によって変換されたページ (->オリジナル) /