Version: 4.6 (using KDE 4.6.1) OS: Linux I'm experiencing a very annoying problem regarding unicode characters in filenames. It appears that non-latin characters are detected incorrectly in every KDE(/QT?) application, unless said application is run with 'dbus-launch'. This makes for annoying results - Amarok does not detect these files, Dolphin displays incorrectly, etc. Reproducible: Always Steps to Reproduce: Launch application such as Dolphin normally, navigate to folder with unicode characters. Actual Results: Characters are displayed incorrectly. Expected Results: Characters should be displayed correctly. This happens on every filesystem - I've tried ext4, and NTFS (through ntfs-3g). Also, my ~/.zshrc contains: export LANG="en_US.UTF-8" export LC_ALL="en_US.UTF-8" However, this seems to have no effect. I've attached two screenshots - one shows Dolphin handling these characters when launched with dbus-launch, and one shows it when launched normally.
Created attachment 58233 [details] Dolphin shown when launched normally
Created attachment 58234 [details] Dolphin shown when launched with dbus-launch
> my ~/.zshrc This is only executed when a shell starts, but KDE needs to know the systems' locale for every process.
Hi Chris, the problem appears when launching applications normally thru the shell as well. I've verified through the use of /proc/pid/environ that said env vars are used by the process.
Turns out Chris was right - I had to define $LANG in /etc/profile.