mirror of
https://github.com/Genymobile/scrcpy.git
synced 2026-01-31 11:34:28 +01:00
Contrary to getenv(), sc_get_env() returns an allocated string that is guaranteed to be encoded in UTF-8 on all platforms (it uses _wgetenv() internally on Windows and converts the strings). PR #5560 <https://github.com/Genymobile/scrcpy/pull/5560>