http://bugzilla.novell.com/show_bug.cgi?id=560929 http://bugzilla.novell.com/show_bug.cgi?id=560929#c0 Summary: $G_FILENAME_ENCODING not set correctly for csh users Classification: openSUSE Product: openSUSE 11.2 Version: Final Platform: All OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Development AssignedTo: pth@novell.com ReportedBy: wjones@fluke.com QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.4) Gecko/20091016 SUSE/3.5.4-6.1 Firefox/3.5.4 $G_FILENAME_ENCODING is set for csh users in /etc/profile.d/zzz-glib2.csh, which is provided by the glib2 package. The variable is set in a switch statement based on the value of $LANG, but none of the cases has a "breaksw". As a result, after the correct case is matched, execution falls through all the remaining cases. The final value of $G_FILENAME_ENCODING is alway set by the last case, "zu_ZA". If you speak Zulu and live in South Africa, that's probably OK. (Actually, the result is fairly reasonable for a lot of other users, but it's not right.) The corresponding logic in /etc/profile.d/zzz-glib2.sh works correctly -- each case is terminated by ";;". Reproducible: Always Steps to Reproduce: 1. Login with csh 2. echo $G_FILENAME_ENCODING Actual Results: $G_FILENAME_ENCODING = G_FILENAME_ENCODING=@locale,UTF-8,ISO-8859-1,CP1252 always. This is the appropriate value for $LANG = zu_ZA* Expected Results: $G_FILENAME_ENCODING should depend on $LANG. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.