nautilus-copy-path icon indicating copy to clipboard operation
nautilus-copy-path copied to clipboard

filenames in rtl languages i.e Arabic, aren't copied

Open MohamedAbdultawab opened this issue 2 years ago • 2 comments

Example Filename: "محمد.jpg" Copying any file that has any arabic character will result in nothing, no change happens, and the clipboard only has any previous copied data, but not this new one.

MohamedAbdultawab avatar Jan 01 '22 14:01 MohamedAbdultawab

i tried with the example you provided and i didn't had any issue

can you provide more info like which distro you are using, nautilus version etc

try to run this in terminal, it will launch a nautilus window try to use it and check if there is any errors in the terminal

nautilus -q
nautilus

chr314 avatar Jan 01 '22 15:01 chr314

i tried with the example you provided and i didn't had any issue

can you provide more info like which distro you are using, nautilus version etc

try to run this in terminal, it will launch a nautilus window try to use it and check if there is any errors in the terminal

nautilus -q
nautilus

Thanks for your reponse :) I'm using ubuntu 20.04 with gnome-shell 3.36.9 and nautilus 3.36.3.

I'm getting this error when copying any Arabic filenames path:

Traceback (most recent call last):
  File "/home/mohamed/.local/share/nautilus-python/extensions/nautilus-copy-path/nautilus_copy_path.py", line 77, in _copy_paths
    self._copy_value(list(map(lambda f: f.get_location().get_path(), files)))
  File "/home/mohamed/.local/share/nautilus-python/extensions/nautilus-copy-path/nautilus_copy_path.py", line 87, in _copy_value
    new_value = self.config["separator"].join(value)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd8 in position 14: ordinal not in range(128)

MohamedAbdultawab avatar Jan 02 '22 23:01 MohamedAbdultawab