[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Letter-case conversions in network protocols
From: |
Lars Ingebrigtsen |
Subject: |
Re: Letter-case conversions in network protocols |
Date: |
Sat, 08 May 2021 12:20:51 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
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