From: Eli Zaretskii <eliz@gnu.org>
To: Andreas Schwab <schwab@linux-m68k.org>
Cc: 11786@debbugs.gnu.org, eggert@cs.ucla.edu, dmantipov@yandex.ru
Subject: bug#11786: Use c_strcasecmp for portable ASCII case-insensitive comparison
Date: Tue, 26 Jun 2012 19:31:11 +0300 [thread overview]
Message-ID: <83y5na827k.fsf@gnu.org> (raw)
In-Reply-To: <m24npyoxb4.fsf@igel.home>
> From: Andreas Schwab <schwab@linux-m68k.org>
> Cc: Paul Eggert <eggert@cs.ucla.edu>, Dmitry Antipov <dmantipov@yandex.ru>, 11786@debbugs.gnu.org
> Date: Tue, 26 Jun 2012 18:25:03 +0200
>
> Eli Zaretskii <eliz@gnu.org> writes:
>
> > Can tolower fail for these, somehow, in a locale that uses a multibyte
> > encoding for these strings, and if so, can you give a practical
> > example of such a failure?
>
> tolower ('I') in a turkish locale.
OK, but that's not an issue with multibyte locales.
Anyway, I think having a custom replacement for tolower, perhaps using
the code of c_tolower from gnulib or its equivalent, will resolve
this. Am I missing something?
next prev parent reply other threads:[~2012-06-26 16:31 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-26 1:42 bug#11786: Use c_strcasecmp for portable ASCII case-insensitive comparison Paul Eggert
2012-06-26 16:02 ` Eli Zaretskii
2012-06-26 16:25 ` Andreas Schwab
2012-06-26 16:31 ` Eli Zaretskii [this message]
2012-06-26 16:39 ` Andreas Schwab
2012-06-26 17:25 ` Paul Eggert
2012-06-26 18:21 ` Eli Zaretskii
2012-06-26 20:28 ` Paul Eggert
2012-07-06 21:14 ` Paul Eggert
2012-06-26 17:04 ` Dmitry Antipov
2012-06-26 17:16 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83y5na827k.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=11786@debbugs.gnu.org \
--cc=dmantipov@yandex.ru \
--cc=eggert@cs.ucla.edu \
--cc=schwab@linux-m68k.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).