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

Use std::filesysytem to remove deprecated std::codecvt_utf8_utf16 #111

Open
yusuke-tokuyoshi opened this issue Dec 24, 2024 · 0 comments
Open

Comments

@yusuke-tokuyoshi
Copy link

std::codecvt_utf8_utf16, that was deprecated due to security reasons, is used in utf8_to_wstring.

inline std::wstring utf8_to_wstring( const std::string& str )

If utf8_to_wstring is used only for paths, we can replace these path types with std::filesystem that handles character encoding.

@yusuke-tokuyoshi yusuke-tokuyoshi changed the title Use std::filesysytem to remove deplicated std::codecvt_utf8_utf16 Use std::filesysytem to remove deprecated std::codecvt_utf8_utf16 Dec 24, 2024
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

No branches or pull requests

1 participant