darktable-org / lua-scripts

151 stars 110 forks source link

LUA and national characters (like ą,ę,ń) #402

Closed DarekGH closed 1 month ago

DarekGH commented 1 year ago

When photos has pure english filenames lua scripts works well. But when filenames has national charaters it goes wrong during moving/copying and running external programs with filename as parameter. Try to run ext_editor script when source file has national letters. It stops when moving file from temp location to source location. Next - passes wrong file name to external editor - insted of Gdańsk.tif it passes Gda┼äsk.tif Look here https://stackoverflow.com/questions/54118507/lua-how-to-make-os-rename-os-remove-work-with-filenames-containing-unicode-ch and here https://gist.github.com/Egor-Skriptunoff/2458547aa3b9210a8b5f686ac08ecbf0#file-utf8_filenames-lua

Darek

supertobi commented 1 year ago

What is your operating system?

DarekGH commented 1 year ago

Windows 11