On Fri, Jun 5, 2009 at 9:23 PM, Michael Scherer<m...@mandriva.org> 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 > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > >
-- Regards Vladimir 'phcoder' Serbinenko _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel