-
-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"File not found" when file path have non-English characters #14
Comments
I tried to use
|
I found an similar issue in another exiftool repo and add It looks like that: static for(filename: string, optionalArgs: string[] = []): ReadTask {
const sourceFile = _path.resolve(filename)
const args = [
"-json",
"-coordFormat", "%.8f", // Just a float, please, not the default of "22 deg 20' 7.58\" N"
"-fast",
"-charset", "filename=utf8",
...optionalArgs,
sourceFile
]
return new ReadTask(sourceFile, args)
} Maybe BTW, thanks for this cool project, I love strong type so much :) |
Thanks for the PR! |
When file path have non-english words, the
exifTool.read()
throw error like that:The text was updated successfully, but these errors were encountered: