> Date: Wed, 15 Jun 2011 10:22:36 +0200 > From: Corinna Vinschen <vinsc...@redhat.com> > Cc: Andrew Pinski <pins...@gmail.com>, brobec...@adacore.com, > gcc-patches@gcc.gnu.org, gdb-patc...@sourceware.org > > Talking about case-insensitive comparison, the filename_cmp and > filename_ncmp functions don't work for multibyte codesets, only for > singlebyte codesets. Given that UTF-8 is standard nowadays, shouldn't > these functions be replaced with multibyte-aware versions?
I agree, but if we go that way, shouldn't we support UTF-16, which is used by the native Windows APIs? Windows does not use UTF-8 for file names.