You are not logged in.

#1 2013-04-04 22:30:55

inp3dance
Member
Registered: 2008-06-23
Posts: 106

Some applications don't display accented fonts correctly

Hi,

I have a strange issue I can't fix from myself. If I create a file that contains hungarian characters (no matter if on my NTFS data partition or my ext4 home partition), Thunar and Pantheon Files can show the filenames correctly, but Dolphin and Krusader can't. Furthermore no one of the terminal emulators I have installer (Konsole, Xfce Terminal and Gnome Terminal) displays the filenames correctly, so it is not a QT/KDE specific problem.
I had a similar post some time ago (https://bbs.archlinux.org/viewtopic.php?id=121222), but the solution from there is nor working for me in this case.
I have en_US.UTF-8 UTF-8  and hu_HU.UTF-8 UTF-8  set in my locale.gen and locale.conf set up too

$ cat /etc/locale.conf 
LANG="en_US.UTF-8"
LC_TIME="hu_HU.UTF-8"
$ locale -a
C
en_US.utf8
POSIX
$ locale
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME=hu_HU.UTF-8
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

However I found some errors: one of them is the above locale: Cannot set LC_ALL to default locale: No such file or directory. The other is when I'm trying to regenerate locales, I got

$locale-gen 
Generating locales...
  en_US.UTF-8... done
  hu_HU.UTF-8...cannot open locale definition file `hu_HU': No such file or directory

And when I start a GTK application, I got the following error:

(process:2659): Gtk-WARNING **: Locale not supported by C library.
	Using the fallback 'C' locale.

But I got this very same error when I start Thunar too, so I don't know if it is related. Oh, and I use Dejavu font family in all my applications, so it is not a font problem.
Please help me if you have ideas what is the problem here.
Thanks!

Offline

#2 2013-04-05 22:59:04

Butcher
Member
Registered: 2009-02-04
Posts: 158

Re: Some applications don't display accented fonts correctly

Reinstall glibc.

Offline

Board footer

Powered by FluxBB