Ask Your Question
3

Does the std header not include codecvt?

asked 2021-09-04 11:00:00 +0000

qstack gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2022-02-22 16:00:00 +0000

ladyg gravatar image

In C++11 and later, the <codecvt> header is deprecated and replaced by <locale> with the use of std::wstringconvert or std::codecvtutf8. However, in C++17 and later, the header is removed entirely from the standard. Therefore, it is recommended to use the alternatives mentioned above instead of relying on <codecvt> header.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2021-09-04 11:00:00 +0000

Seen: 15 times

Last updated: Feb 22 '22