Menu

#10 WIndows: cannot save new locations if filename contains umlaut

Unstable (example)
open
nobody
None
5
2015-11-02
2015-11-02
No

This is related to patch #9: If a file name contains umlauts, a geo location can be set (if patch #9 was applied) but the resut cannot be saved on windows. The reason is, that the arguments file contains file names in utf-8, which is passed to exiftool via -@. But as http://owl.phy.queensu.ca/~phil/exiftool/faq.html#Q18 discusses, this causes problems. One solution is to change

  argumentsWriter = new OutputStreamWriter(argumentsOutputStream, "UTF-8"); //$NON-NLS-1$

into

  argumentsWriter = new OutputStreamWriter(argumentsOutputStream, "cp1252"); //$NON-NLS-1$

in ExifWriter.java. As this is bad on linux orwindows systems in other locales, I would make this a configuration parameter.

Best regards,

Heiner

Discussion


Log in to post a comment.