[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] support of hfsx ( case comparaison )
From: |
Vladimir 'phcoder' Serbinenko |
Subject: |
Re: [PATCH] support of hfsx ( case comparaison ) |
Date: |
Fri, 5 Jun 2009 21:46:37 +0200 |
On Fri, Jun 5, 2009 at 9:23 PM, Michael Scherer<address@hidden> wrote:
>
>>
>> We may need to use a comparison table as in hfs.c, as least for the
>> first 256 Unicode characters, but it's a separate issue.
>
> That a little bit too complex for me, I have just patched grub for the
> simplest case, and for the issue I faced on my own computer.
It's actually a problem with grub_strcasecmp since it doesn't take
utf8 into account. HFS+ unlike HFS uses Unicode (UTF-16 normalisation
form d to be exact) so no need for special handling here. Improving
strcasecmp is possible and may even be compact. Even if unicode counts
a lot of alphabets only few are bicameral. AFAIK main ones are Latin,
Greek, Cyrillic and Armenian. I hope that in most cases the lowercase
conversion can be done with some simple arithmetic operations
>
> --
> Michael Scherer
>
> _______________________________________________
> Grub-devel mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/grub-devel
>
>
--
Regards
Vladimir 'phcoder' Serbinenko
- Re: [PATCH] support of hfsx ( case comparaison ), Vladimir 'phcoder' Serbinenko, 2009/06/01
- Re: [PATCH] support of hfsx ( case comparaison ), Michael Scherer, 2009/06/03
- Re: [PATCH] support of hfsx ( case comparaison ), Vladimir 'phcoder' Serbinenko, 2009/06/03
- Re: [PATCH] support of hfsx ( case comparaison ), Michael Scherer, 2009/06/03
- Re: [PATCH] support of hfsx ( case comparaison ), Pavel Roskin, 2009/06/03
- Re: [PATCH] support of hfsx ( case comparaison ), Michael Scherer, 2009/06/05
- Re: [PATCH] support of hfsx ( case comparaison ),
Vladimir 'phcoder' Serbinenko <=
- Re: [PATCH] support of hfsx ( case comparaison ), Pavel Roskin, 2009/06/06
- Re: [PATCH] support of hfsx ( case comparaison ), Vladimir 'phcoder' Serbinenko, 2009/06/07
- Re: [PATCH] support of hfsx ( case comparaison ), Pavel Roskin, 2009/06/07
- Re: [PATCH] support of hfsx ( case comparaison ), Pavel Roskin, 2009/06/05