Can't download or open any file that contains Arabic characters

Hello!

The problem is not recent but also not since I used Manjaro. It’s been at least a year with several major upgrades since then.

If I download any file that contains any Arabic characters, the file name becomes just download - no extension. I can still rename it to Arabic letters and it will save, but the file won’t open.

Even if the file is non-Arabic named BUT the path contains any Arabic directory or grand-parent-directory, the file won’t open.

  • Downloading tested with: Google Chrome, Chromium, and Mozilla Firefox
  • Files managers tested: the default Dolphin, PCManFM, Deepin File Manager
  • Kernel: 5.15.41-1-MANJARO
  • Desktop: KDE Plasma v: 5.24.5
  • WM: KWin

All other aspects of the language, i.e., reading files, typing, etc., are fine. No issues.

I see this warning:

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "en_US",
        LC_ALL = (unset),
        LANG = "en_AE.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").

Hope this info help:

[ahassoun@LEGION ~]$ sudo locale-gen
[sudo] password for ahassoun: 
Generating locales...
  en_GB.UTF-8... done
  en_US.UTF-8... done
Generation complete.
[ahassoun@LEGION ~]$ locale
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=en_AE.UTF-8
LC_CTYPE="en_AE.UTF-8"
LC_NUMERIC="en_AE.UTF-8"
LC_TIME="en_AE.UTF-8"
LC_COLLATE="en_AE.UTF-8"
LC_MONETARY="en_AE.UTF-8"
LC_MESSAGES="en_AE.UTF-8"
LC_PAPER="en_AE.UTF-8"
LC_NAME="en_AE.UTF-8"
LC_ADDRESS="en_AE.UTF-8"
LC_TELEPHONE="en_AE.UTF-8"
LC_MEASUREMENT="en_AE.UTF-8"
LC_IDENTIFICATION="en_AE.UTF-8"
LC_ALL=

Thanks in advance!

Maybe a limitation of the file system on which you try to manage those files?

lsblk -f

relevant part here is:


LANG = "en_AE.UTF-8"

AFAIK this is not a valid setting or name

It is nowhere to be found in /etc/locale.gen

1 Like

We have a small guide for troubleshooting locale errors

1 Like