Xaymar/obs-StreamFX

C++20 may require a large portion of code to be upgraded #389

Xaymar posted onGitHub

<!-- Hi, thank you for taking the time to ask for help. -->

<!-- Please make sure that you fill this out in it's entirety. -->

<!-- Unfortunately I will have to close issues if it has not been filled out. -->

Description

C++20 removes the ambiguity of std::string meaning both ASCII as well as UTF-8 and instead introduces char8_t, std::u8string and similar new functionality. This cleans up the code drastically as all code page conversion is done by the C++ runtime instead of having to juggle ASCII and UTF-8 without any clear difference. This mainly affects std::filesystem::path code, but might also affect other parts of the code base that might end up resolving unicode strings.

<!-- Please describe the feature in its entirety. -->

<!-- If you have artwork, links or similar, please attach them. -->

Checklist

<!-- Please check any that apply. If you aren't sure, leave them unchecked. -->

  • I am willing to pay someone to implement this feature.
  • This feature absolutely can't be done with already existing features.

Fund this Issue

$0.00
Funded

Pull requests