summaryrefslogtreecommitdiff
path: root/src/video_core
diff options
context:
space:
mode:
authorZephyron <zephyron@citron-emu.org>2025-02-01 12:27:03 +1000
committerZephyron <zephyron@citron-emu.org>2025-02-01 12:27:03 +1000
commit4e8d00f0342cd95d8895179601f2d979b7f73ac8 (patch)
tree45312dda8b3c07a91b209c13b19bdae34e9bf158 /src/video_core
parentf6389221298e052b59e72d4fcd28514e8fd5aab9 (diff)
string_util: Replace deprecated wstring_convert with direct UTF conversions
Removes usage of std::wstring_convert and std::codecvt_utf8_utf16 which are deprecated since C++17. Implements direct UTF conversions for: - UTF16ToUTF8: Manual conversion with proper surrogate pair handling - UTF8ToUTF16: Direct conversion supporting full Unicode range - UTF8ToUTF32: New implementation with proper code point extraction The new implementations are more robust and handle edge cases better while avoiding deprecated functionality. Windows-specific code paths remain unchanged using the existing UTF16W conversions. This change improves maintainability and removes compiler warnings about deprecated features while maintaining full Unicode support.
Diffstat (limited to 'src/video_core')
0 files changed, 0 insertions, 0 deletions