In Konsole, Asian file names are displayed as escaped sequences
0
votes
1
answer
43
views
I'm using Arch Linux with KDE Plasma. The system's locale is English. Korean/Japanese fonts are installed. In Dolphin, files with korean/japanese names are shown correctly. But in Konsole, their names are displayed as espaped sequences like ''$'\355\205\214\354\212\244\355\212\270''.txt' In Konsole's profile, the default encoding was already set to UTF-8.
How to solve?
---
The output of

strings /proc/$$/environ | grep -e LANG -e LANGUAGE -e LC_ | sort
LANG=en_GB.UTF-8
LANGUAGE=en_GB
LC_ADDRESS=en_GB.UTF-8
LC_MEASUREMENT=en_GB.UTF-8
LC_MONETARY=en_GB.UTF-8
LC_NAME=en_GB.UTF-8
LC_NUMERIC=en_GB.UTF-8
LC_PAPER=en_GB.UTF-8
LC_TELEPHONE=en_GB.UTF-8
LC_TIME=en_GB.UTF-8
The output of 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_GB.UTF-8
LC_CTYPE="en_GB.UTF-8"
LC_NUMERIC=en_GB.UTF-8
LC_TIME=en_GB.UTF-8
LC_COLLATE="en_GB.UTF-8"
LC_MONETARY=en_GB.UTF-8
LC_MESSAGES="en_GB.UTF-8"
LC_PAPER=en_GB.UTF-8
LC_NAME=en_GB.UTF-8
LC_ADDRESS=en_GB.UTF-8
LC_TELEPHONE=en_GB.UTF-8
LC_MEASUREMENT=en_GB.UTF-8
LC_IDENTIFICATION="en_GB.UTF-8"
LC_ALL=
---
locale charmap
was showing some sort of ASCII. The problem was solved when it was changed to UTF-8. I don't remember how I did it exactly, because I tried a few things.
Asked by Damn Vegetables
(1539 rep)
Dec 10, 2024, 04:06 AM
Last activity: Dec 10, 2024, 11:55 PM
Last activity: Dec 10, 2024, 11:55 PM