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

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

Open
MohamedAbdultawab opened this issue Jan 1, 2022 · 2 comments
Open

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

MohamedAbdultawab opened this issue Jan 1, 2022 · 2 comments

Comments

@MohamedAbdultawab
Copy link

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.

@chr314
Copy link
Owner

chr314 commented Jan 1, 2022

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

@MohamedAbdultawab
Copy link
Author

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)

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

No branches or pull requests

2 participants