[FML] Replace deprecated wstring_convert with Win32 APIs (#191394)
Replaces deprecated `std::wstring_convert` and `<codecvt>` usage in `engine/src/flutter/fml/platform/win/wstring_conversion.cc` with native Win32 APIs `MultiByteToWideChar` and `WideCharToMultiByte`. ## Changes - `WideStringToUtf8`: Uses `WideCharToMultiByte` with `CP_UTF8`. - `Utf8ToWideString`: Uses `MultiByteToWideChar` with `CP_UTF8`. - Unit tests: Added tests in `wstring_conversion_unittests.cc` to verify string conversions with URLs and Unicode characters.
B
Ben Konyi committed
f8d5141d74ec9981d3fab81f1a73b5130989058a
Parent: da1eef2
Committed by GitHub <noreply@github.com>
on 8/20/2026, 9:29:10 PM