ExifTool Forum

ExifTool => The "exiftool" Application => Topic started by: JoErtl on November 08, 2021, 10:57:46 AM

Title: charset in stay_open mode
Post by: JoErtl on November 08, 2021, 10:57:46 AM
Hi,

I have some issues with german characters. On the windows command line I use the following command:

Y:\Software\ExifTool\exiftool.exe -Title=bläüßöd -charset filename="" -charset exiftool=Latin -m -overwrite_original -L -q "Z:\Bearbeiten\Test\CIMG1160.AVI.mp4"

This works just fine, the title is written with all the german characters. Now in a c# program I open exiftool like that:

"Y:\Software\ExifTool\exiftool.exe" -stay_open true -@ Y:\Software\MediaManagement\MediaManagement\logs\args.txt

Then the c# program writes to the args.txt the following:

Title=bläüßöd
-charset
filename=
-charset
exiftool=Latin
-m
-overwrite_original
-L
-q
Z:\Bearbeiten\Test\CIMG1160.AVI.mp4
-execute


The title is written to the mp4 files, but the characters in the title field are "bläüßöd" instead of "bläüßöd". What do I need to do to get the german characters in the title in my c# program?

Thanks,
Johannes