If file path contains spaces and stayOpen is enabled, exiftool fails to read meta on Windows
Although works for Mac.
Hi,
Thanks for the report.
Does it work without stayOpen?
@mjeanroy
Hi. Yes, it does work without stayOpen
Hi @valnaumov,
I just added a unit test with a file containing a space (see 09a4db97), and it seems to work (on Windows and Unix). What versions of exiftool are you using? Can you give me the name of a file that does not work? Does it contains anything special, except spaces?
@mjeanroy
Pardon me, it appears that it was not the space that caused the issue, it were cyrillic characters as part of the name. The name was something like: d:\temp\по-русски.CR2.
Guess we can't do anything about it?
Thanks, I'll try to look at that but I think the problem is with exiftool, not with this wrapper. Nevertheless, if a file name contains non-supported characters, we should be able to print, at least, a warning, what do you think ?
@mjeanroy I'd prefer an exception, if we can be certain that in given circumstances non-ASCII symbols won't work. One may work with exiftool for months, and he would not note such a pitfall like it happened to myself. The more explicit, the better, I think.
@valnaumov I searched in exfitool forum about encoding issue, and it looks like this is your problem: http://u88.n24.queensu.ca/exiftool/forum/index.php/topic,4029.msg18896.html#msg18896