I guys, I am writing a tool to reverse geogode image, but I have a probelm with address with non ascii characters. For example if my photo was taken to
Calle de Alcalá 41-43 Madrid Spain I write the tag
$success = $exifTool->SetNewValue("XMP:Location", $address);
when I read the info, I see
exiftool -Location ../Dropbox/madrid/P1000018.JPG
Location : Calle de Alcalá 41-43
I need to use
exiftool -L -Location ../Dropbox/madrid/P1000018.JPG
Location : Calle de Alcalá 41-43
to display correct info
This behaviour make problem with the windows application that watermark the wrong address info to photo.
Do you have some suggestion ?
The -L is necessary if your Windows console is using Windows Latin1 encoding. (which is common)
It looks like you wrote the information correctly. Read FAQ number 10 and 18 (https://exiftool.org/faq.html#Q10) for more information