1
0
zrcadlo https://github.com/dockur/windows.git synchronizováno 2026-06-11 12:49:36 +08:00

fix: wimlib-imagex info returns UTF-16LE but is interpreted as UTF8 (#1293)

Tento commit je obsažen v:
mauxadoor
2025-09-15 01:49:04 +02:00
odevzdal GitHub
rodič 22511b16ae
revize e3dc889601
+1 -1
Zobrazit soubor
@@ -615,7 +615,7 @@ detectImage() {
warn "failed to locate 'install.wim' or 'install.esd' in ISO image, $FB" && return 1
fi
info=$(wimlib-imagex info -xml "$wim" | tr -d '\000')
info=$(wimlib-imagex info -xml "$wim" | iconv -f UTF-16LE -t UTF-8)
checkPlatform "$info" || exit 67
DETECTED=$(detectVersion "$info")