lua-scripts icon indicating copy to clipboard operation
lua-scripts copied to clipboard

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

Open DarekGH opened this issue 3 years ago • 2 comments

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

DarekGH avatar Jan 19 '23 18:01 DarekGH

What is your operating system?

supertobi avatar Jan 20 '23 09:01 supertobi

Windows 11

DarekGH avatar Jan 20 '23 10:01 DarekGH