Re: Any arguments for keeping Yum case-sensitive?

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

 



On Fri, Mar 11, 2011 at 13:00, Jakub Jelinek <jakub@xxxxxxxxxx> wrote:
> On Fri, Mar 11, 2011 at 09:07:35AM +0200, Dotan Cohen wrote:
>> I cannot reproduce that:
>
> That's because you forgot to call setlocale (LC_ALL, "");
> first. ÂWithout that the comparison is done in C locale always.
>

I thought that I could set the locale in the bash environment. Other
apps, such as yum, do respond to that, though they may be coded to
check. Thanks.


> As for why in tr_TR this is different, in tr_TR.UTF-8
> wcscasecmp (L"hijkl", L"HÄJKL") == 0
> and
> wcscasecmp (L"hÄjkl", L"HIJKL") == 0
> (i.e. uppercase for i is LATIN CAPITAL LETTER I WITH DOT ABOVE
> and lowercase for I is LATIN SMALL LETTER DOTLESS I).
> This is especially problematic because i and I are single byte
> in UTF-8 while Ä and Ä are two byte.
>

Thank you for that explanation. This is very important to know, and I
concede that it weakens my argument in favor of a case-insensitive
option for yum. In fact, I am no longer of that opinion, I am now
convinced. Thanks.

This is why I enjoy discussing / arguing with intelligent people. I
learn new things.


-- 
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]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux