stevenhoving / camstudio

CamStudio fork
Other
96 stars 38 forks source link

Replace use of deprecated codecvt #28

Open stevenhoving opened 6 years ago

stevenhoving commented 6 years ago

One of the bolder moves of the cpp committee was to deprecate codecvt for C++17. My idea how to fix this is to actually resolve this differently. Proposal: Keep everything in std::string using utf8 encoding, and only convert to unicode (convert std::wstring) when actually use it.