Re: Any arguments for keeping Yum case-sensitive?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Mar 10, 2011 at 22:02, Jakub Jelinek <jakub@xxxxxxxxxx> wrote:
> On Thu, Mar 10, 2011 at 07:01:20PM +0000, Alan Cox wrote:
>> > Do you say package names change with each language?.
>>
>> No but the question is "abcde" the same as "ABCDE" except for case does
>
> In most locales "abcde" and "ABCDE" is the same when doing case insensitive
> comparison, but e.g. wcscasecmp (L"hijkl", L"HIJKL") returns non-zero
> in tr_TR.UTF-8 while it returns 0 in en_US.UTF-8 or C locales.
>

I cannot reproduce that:

✈ganymede:~$ locale
LANG=en_US.UTF-8
LANGUAGE=
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME=en_DK.utf8
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=
✈ganymede:~$ cat test.c
#include <wchar.h>
#include <stdio.h>

int main () {
    printf("%d\n", wcscasecmp (L"hijkl", L"HIJKL"));
}
✈ganymede:~$ gcc test.c -o test
✈ganymede:~$ ./test
0
✈ganymede:~$ export LANG=tr_TR.UTF-8
✈ganymede:~$ ./test
0
✈ganymede:~$ export LANG="tr_TR.UTF-8"
✈ganymede:~$ ./test
0
✈ganymede:~$

-- 
Dotan Cohen

http://gibberish.co.il
http://what-is-what.com
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux