Hi all, I installed Gnome for kicks and nautilus wasn't displaying my filenames correctly. My locale was set to de_DE@euro (ISO-8859-15) and nautilus assumed UTF-8. I suspect this happened because the glib ebuild sets G_BROKEN_FILENAMES=1 and G_FILENAME_ENCODING=UTF-8. I think what the developer had in mind was to get the applications to use the correct (local) character set with G_BROKEN_FILENAMES=1. The problem seems to be that G_FILENAME_ENCODING overrides G_BROKEN_FILENAMES according to the link above. Without these environment variables G_FILENAME_ENCODING seems to default to UTF-8. Hence my suggestion is to get rid of G_BROKEN_FILENAMES and use G_FILENAME_ENCODING=@locale instead of G_FILENAME_ENCODING=UTF-8. I can't check this anymore because I no longer have Gnome around. But if one of you could test it out and - in case my assumptions are correct - put it into the tree I think this would be good. Users shouldn't have to deal with subtleties like this IMHO. Regards Sebastian Reproducible: Always Steps to Reproduce: 1. Install Gnome, leave /etc/env.d/50glib2 at defaults 2. Use a locale character set other than UTF-8 3. Open nautils, check for correct display of special characters Actual Results: nautilus (and other applications) displays filenames wrong because it assumes UTF-8 Expected Results: The true local character set is used emerge --info Portage 2.1.3.9 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22.10 i686) ================================================================= System uname: 2.6.22.10 i686 AMD Sempron(tm) 2400+ Timestamp of tree: Mon, 22 Oct 2007 07:20:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p17 dev-lang/python: 2.4.4-r5 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 1.12.9-r2 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.7.9-r1, 1.9.6-r2, 1.10 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.22-r2 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer" DISTDIR="/home/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps y" FEATURES="ccache distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo ftp://pandemonium.tiscali.de/pub/gentoo ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo" LANG="de_DE@euro" LC_ALL="de_DE@euro" LINGUAS="de" MAKEOPTS="-j2" PKGDIR="/home/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.informatik.rwth-aachen.de/gentoo-portage" USE="3dnow 3dnowext X aotuv cups dvdr fontconfig gdbm gif gnutls gs iconv jpeg kde kdeenablefinal logrotate mmx mmxext ncurses nls nptl pccts pcre perl png pop ppds python readline smtp spell sse ssl svg threads tiff truetype unicode x86 xml xorg xpm zlib" ALSA_CARDS="ice1712" ALSA_PCM_PLUGINS="route" ELIBC="glibc" INPUT_DEVICES="mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" LIRC_DEVICES="serial" USERLAND="GNU" VIDEO_CARDS="radeon" Unset: CTARGET, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
*** This bug has been marked as a duplicate of bug 136082 ***