http://bugs.linuxfromscratch.org/show_bug.cgi?id=1642
------- Additional Comments From [EMAIL PROTECTED] 2005-11-09 06:36 ------- The proposed patch doesn't address the problem at all. The prescribed tests are there in order to test that glibc accepts the locale. They have nothing to do with Xlib. More constructive criticism: 1) The patch does ensure that the locale is accepted by glibc, but omits the important fact that some applications do custom parsing of locale names and thus can reject or otherwise mistreat locale names that are valid for glibc. 2) The "[EMAIL PROTECTED]" locale passes all the tests added by the patch, but is still rejected by Xlib. 3) Messages that come as a result of locale rejection are not in the patch. That's what happens if the C library doesn't understand the locale: [EMAIL PROTECTED]:~$ LC_ALL=fo_BA.ISO-8859-1 locale charmap locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory ANSI_X3.4-1968 That's what happens if the C library accepts the locale, but Xlib doesn't: [EMAIL PROTECTED]:~$ LC_ALL=ru_RU.KoI8R locale charmap KOI8-R [EMAIL PROTECTED]:~$ LC_ALL=ru_RU.KoI8R xterm Warning: locale not supported by Xlib, locale set to C ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. You are the QA contact for the bug, or are watching the QA contact. -- http://linuxfromscratch.org/mailman/listinfo/lfs-book FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
