2023-06-08 - ExifTool version 12.63 released
Started by johnrellis, June 27, 2017, 09:00:00 PM
QuoteIn Windows, by default, file and directory names are specified on the command line (or in arg files) using the system code page
> chcp 437Active code page: 437> exiftool -format -@ c:\Users\john\Documents\xÀ\args-charset.txtWarning: Tag 'charset' is not definedFile not found: C:/Users/john/Documents/x├Ç/a.jpg
Quote from: johnrellis on June 28, 2017, 03:05:23 PM- ExifTool could interpret the contents of the arg file according to the current code page. So if the code page is 65001 (UTF-8), ExifTool would interpret the arg file as being in UTF-8.
QuoteThe documentation (http://www.exiftool.org/exiftool_pod.html#WINDOWS-UNICODE-FILE-NAMES) implies this is the current behavior
Quote- ExifTool could allow the -charset option to be specified in arg files. Currently, ExifTool doesn't allow it in arg files:
QuoteYes it does [allow -charset in arg files], but each argument must be on a separate line.
QuoteIn Windows, command-line arguments are specified using the current code page and are recoded automatically to the system code page. This recoding is not done for arguments in ExifTool arg files, so by default filenames in arg files use the system code page.