From: Lars Ingebrigtsen <larsi@gnus.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: Fatih Aydin <fataydin138@gmail.com>, emacs-devel@gnu.org
Subject: Re: Letter-case conversions in network protocols
Date: Sat, 08 May 2021 12:20:51 +0200 [thread overview]
Message-ID: <87mtt5ttks.fsf@gnus.org> (raw)
In-Reply-To: <83h7jda71o.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 08 May 2021 12:50:11 +0300")
Eli Zaretskii <eliz@gnu.org> writes:
> As result of calling that, downcasing 'I' no longer produces 'i', and
> code which attempts to match keywords including 'i' case-insensitively
> fails.
(For those who wondered what the concrete problem we had was, it was
basically
(with-temp-buffer
(let ((case-fold-search t))
(insert "DIRECT\n")
(goto-char (point-min))
(looking-at "direct")))
If you start Emacs with
LANG=tr_TR src/emacs
this will return nil, while in most (all?) other locales it will return
t, and this made HTTP proxying fail completely if started in that locale.)
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
next prev parent reply other threads:[~2021-05-08 10:20 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-08 9:50 Letter-case conversions in network protocols Eli Zaretskii
2021-05-08 10:20 ` Lars Ingebrigtsen [this message]
2021-05-08 13:47 ` Stefan Monnier
2021-05-08 15:41 ` Daniel Martín
2021-05-08 19:45 ` Lars Ingebrigtsen
2022-01-17 9:41 ` Fatih Aydin
2022-01-20 9:21 ` Lars Ingebrigtsen
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=87mtt5ttks.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=fataydin138@gmail.com \
/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).