Skip to content
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

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

Closed
DarekGH opened this issue Jan 19, 2023 · 2 comments · Fixed by #469
Closed

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

DarekGH opened this issue Jan 19, 2023 · 2 comments · Fixed by #469

Comments

@DarekGH
Copy link

DarekGH commented Jan 19, 2023

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
Copy link
Contributor

What is your operating system?

@DarekGH
Copy link
Author

DarekGH commented Jan 20, 2023

Windows 11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants