ExifTool Forum

ExifTool => Bug Reports / Feature Requests => Topic started by: HansS713 on October 31, 2017, 05:43:35 AM

Title: OEM437 and OEM850 needed for names from command line
Post by: HansS713 on October 31, 2017, 05:43:35 AM
cmd passes filenames in OEM850 code page in e.g. German Windows, but exiftool does not know this encoding.

Even after cmd /u exiftool does not support dir names with e.g. umlauts without warning.

E.g.
for /d %N in (2017*) do exiftool -m -XMP-mwg-rs:all -o %d%f_XMP-mwg-rs.xmp -ext jpg -r "%~N"
gives lots of warnings:
Waring: FileName encoding not specified - ....

So for direct use in batches something like
-charset filename=OEM850
and
-charset filename=OEM437
would be needed.

PS.: Using command file is no option in many cases, since this will lead to other problems if the script is allowed to be started more than once in parallel and with left over command files.
Title: Re: OEM437 and OEM850 needed for names from command line
Post by: Phil Harvey on October 31, 2017, 07:38:19 AM
Thanks for this suggestion.

ExifTool 10.65 (to be released soon) will have support for DOSLatinUS (cp437) and DOSLatin1 (cp850).

- Phil

Edit: ExifTool 10.65 is now available.