]> wimlib.net Git - wimlib/commit - doc/man1/wimupdate.1
Improve encoding detection of wimupdate command files
authorEric Biggers <ebiggers3@gmail.com>
Sat, 8 Jul 2023 19:12:08 +0000 (12:12 -0700)
committerEric Biggers <ebiggers3@gmail.com>
Sat, 8 Jul 2023 19:12:08 +0000 (12:12 -0700)
commit75e5efe798c0d0e83c709ff3a802fa48096fc776
tree56ed7de0056ec599167ad6c906c9bed2cb833eda
parent4cdfe1f65507e3647b37f11c19202c99cce11f77
Improve encoding detection of wimupdate command files

Make wimupdate command files (read from stdin) and wimcapture source
list files be interpreted as UTF-8 or UTF-16LE (autodetected).
Previously these files were interpreted as the Windows codepage or
UTF-16LE on Windows (autodetected), and UTF-8 on non-Windows.

This makes these files be consistent with wimextract pathlist files and
wimcapture config files, which already had the behavior of "autodetect
UTF-8 or UTF-16LE on all platforms".

Resolves https://wimlib.net/forums/viewtopic.php?p=1545
doc/man1/wimupdate.1
include/wimlib.h
programs/imagex-win32.c
programs/imagex-win32.h
programs/imagex.c
src/textfile.c
tests/test-imagex-update_and_extract