I'm using Kubuntu 17.10 (fully updated). This problem may have been introduced during the upgrade to 17.04 or 17.10; I can't be sure, since I did both upgrades back to back.
Everything works as expected in the Konsole, but file names with non-ASCII characters are displayed with Unicode replacement characters (��) in KDE applications (Dolphin, Kate, etc). The display is different in other GUI applications like LibreOffice, but the file still cannot be opened. I also noticed that xterm doesn't default to UTF-8 mode anymore; this may be related.
I have tried both
dpkg-reconfigure locales and
apt install --reinstall locales, but didn't see any change after rebooting.
LANG=en_US.UTF-8 LC_NUMERIC="de_AT.UTF-8" LC_TIME="de_AT.UTF-8" LC_MONETARY="de_AT.UTF-8" LC_PAPER="de_AT.UTF-8" LC_NAME="de_AT.UTF-8" LC_ADDRESS="de_AT.UTF-8" LC_TELEPHONE="de_AT.UTF-8" LC_MEASUREMENT="de_AT.UTF-8" LC_IDENTIFICATION="de_AT.UTF-8"
locale in Konsole (these values are set in my
LANG=de_AT.utf8 LANGUAGE= LC_CTYPE=de_AT.utf8 LC_NUMERIC=de_AT.utf8 LC_TIME=en_GB.utf8 LC_COLLATE=POSIX LC_MONETARY=de_AT.utf8 LC_MESSAGES=en_US.utf8 LC_PAPER=de_AT.utf8 LC_NAME=de_AT.utf8 LC_ADDRESS=de_AT.utf8 LC_TELEPHONE=de_AT.utf8 LC_MEASUREMENT=de_AT.utf8 LC_IDENTIFICATION=de_AT.utf8 LC_ALL=
C C.UTF-8 POSIX de_AT de_AT.iso88591 de_AT.iso885915@euro de_AT.utf8 de_AT@euro de_BE.utf8 de_CH.utf8 de_DE.utf8 ... en_GB.utf8 ... en_US.utf8
(Full list.) I do not remember installing all those locales; I only selected
I'm also unsure of whether to specify UTF-8 locales as
de_AT.UTF-8... both seem to be used.
What should I do now?