You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when I have some Unicode character in my image path(.e.g D:\相册\LR\相册\佳能\103___04\IMG_0661.jpg)
and then enable stayOpen flag, it always return "File not Found".
I have checked issuse at forum, got this : https://www.photools.com/community/index.php?topic=10740.0
The key part is
-charset
filename=UTF8
which tells ExifTool that the file name is in UTF-8 encoding.
German umlauts, Chinese, Russian or other non-ASCII characters no problem.
So i extend StandardOptions (unfortunately it was final class), like this:
exifTool.getImageMeta(new File("D:\\相册\\LR\\相册\\佳能\\103___04\\IMG_0661.jpg"),
new SupportUtf8FileNameOptions(StandardOptions.builder().withFormat(StandardFormat.NUMERIC).build()),
StandardTags.values());
Therefore, hope that StandardOptions.Builder().withCharset can support custom content, just change the parameter type to String
The text was updated successfully, but these errors were encountered:
when I have some Unicode character in my image path(.e.g D:\相册\LR\相册\佳能\103___04\IMG_0661.jpg)
and then enable stayOpen flag, it always return "File not Found".
I have checked issuse at forum, got this : https://www.photools.com/community/index.php?topic=10740.0
So i extend StandardOptions (unfortunately it was final class), like this:
now it running well for unicode character path
Therefore, hope that
StandardOptions.Builder().withCharset
can support custom content, just change the parameter type to StringThe text was updated successfully, but these errors were encountered: