yasuo
(Ohnishi, Yasuo)
May 9, 2026, 8:15am
1
Hi,
I found that darktable-cli cannot handle non-western characters properly as output file name in Windows.
For example:
If I use the command below which does not contain non-western characters, it makes proper output file.
“C:\Program Files\darktable\bin\darktable-cli.exe” “C:\Users\yohnishi\Pictures\test.tif” “C:\Users\yohnishi\Pictures\test_edited.tif”
However if I use command like below which contains non-western characters…
“C:\Program Files\darktable\bin\darktable-cli.exe” “C:\Users\yohnishi\Pictures\1991_06尾瀬ヶ原4_櫛形1_0016s_tmp.tif” “C:\Users\yohnishi\Pictures\1991_06尾瀬ヶ原4_櫛形1_0016s_edited.tif”
It makes output file in currect directory like below which name will have the separator in the path name omitted…
CUsersyohnishiPictures1991_06尾瀬ヶ原4_櫛形1_0016s_edited.tif
My environment is Windows11 25H2 Japanese version + darktable 5.4.1
Any suggestion?
I’m not a developer but I’d suggest to file an issue on github:
In your particular example you can cd into your directory C:\Users\yohnishi\Pictures\ :
cd C:\Users\yohnishi\Pictures
before launching the program:
"C:\Program Files\darktable\bin\darktable-cli.exe" "1991_06尾瀬ヶ原4_櫛形1_0016s_tmp.tif” "1991_06尾瀬ヶ原4_櫛形1_0016s_edited.tif"
Perhaps it works in this way, but of course it’s not ideal since in general you might want to use a different directory.
Another thing I can suggest is to try, as a workaround, to escape all the backslashes, like this.
"C:\\Users\\yohnishi\\Pictures\\1991_06尾瀬ヶ原4_櫛形1_0016s_tmp.tif"
1 Like
yasuo
(Ohnishi, Yasuo)
May 10, 2026, 1:00pm
3
giusarg:
Another thing I can suggest is to try, as a workaround, to escape all the backslashes, like this.
"C:\\Users\\yohnishi\\Pictures\\1991_06尾瀬ヶ原4_櫛形1_0016s_tmp.tif"
Thank you for your suggestion. I tried it and it works.
1 Like