This patch is similar to a7acba29 but for clangd. It allows to pass non-UTF8 encoded command line arguments (e.g. path where compile-commands.json file is located) on Windows.