When using exiftool I had some trouble with "strange" characters (with accents etc.) in the results. Finally I found the source os the trouble: Method ArrayListOutputConsumer.consumeOutput does not specify a character set when creating an InputStreamReader, and therefore (at least on my Mac) a different character set is used than the UTF8 that exiftool uses for its output. For the time being I fixed this by creating my own OutputConsumer that uses UTF8, but would be nicer if this could be fixed in the official im4java release.
Since I am using im4java only with exiftool, I don't know whether always using UTF8 would work well with other tools.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks for the hint, this is certainly a problem that should be fixed somehow. I will check this issue and think about a solution for the next release.
Bernhard
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
When using exiftool I had some trouble with "strange" characters (with accents etc.) in the results. Finally I found the source os the trouble: Method ArrayListOutputConsumer.consumeOutput does not specify a character set when creating an InputStreamReader, and therefore (at least on my Mac) a different character set is used than the UTF8 that exiftool uses for its output. For the time being I fixed this by creating my own OutputConsumer that uses UTF8, but would be nicer if this could be fixed in the official im4java release.
Since I am using im4java only with exiftool, I don't know whether always using UTF8 would work well with other tools.
Thanks for the hint, this is certainly a problem that should be fixed somehow. I will check this issue and think about a solution for the next release.
Bernhard