libarchive: Add support for UTF-8 locale on Windows
Backport libarchive upstream commit c46e7993
(windows: Support UTF-8 locale, 2018-07-23, v3.4.0~105^2
) from livarchive PR 1043.
Also backport libarchive PR 1329 to fix a possible buffer overflow in WCS handling on Windows.
Fixes: #20320 (closed)
Backport: release
Edited by Brad King