My first post here about Emacs. I've spent days trying to figure out answer before posting here.
I'm running Emacs 26.1 on Windows 10. The setup that I'd like to have is running a single instance of Emacs and to be able to open files from Windows file system in Emacs. So, I'm using Emacs with server-start
and connecting to it via emacsclientw
.
Things work as expected except for when file names have non-latin characters in file name. For example files called māss.txt
or lūk.txt
. When I open such files with emacsclientw
, what I get in Emacs is empty mass.txt
or luk.txt
buffers.
If I understand correctly, emacs/emacsclient considers that a file with such characters kind of "doesn't exist", so it visits a new file. If I save this "new" empty buffer, it gets saved as a file without those special characters, as mass.txt
or luk.txt
, and the original files are not touched. If I open/visit the original files from within Emacs, they can be opened and edited as expected, all the characters show up just fine.
Do I understand correctly that emacsclient
simply does not support such language specific characters and for emacsclient
file names must be latin characters only?
Any other pointers where I should look and what to try?