[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#24425: [PATCH] Don’t cast Unicode to 8-bit when casing unibyte strin
bug#24425: [PATCH] Don’t cast Unicode to 8-bit when casing unibyte strings
Fri, 16 Sep 2016 19:41:44 +0200
Notmuch/0.19+53~g2e63a09 (http://notmuchmail.org) Emacs/188.8.131.52 (x86_64-unknown-linux-gnu)
>> I thought about that but then another corner case is "istanbul\xff"
>> which is a unibyte string with 8-bit bytes.
On Thu, Sep 15 2016, Eli Zaretskii wrote:
> And what is the problem in that case?
Disregard. It’s actually fine.
>> I have no strong feelings either way so I’m happy just leaving it as
>> is as well.
> That is fine with me.
> Was there some real-life use case where you bumped into this? If so,
> maybe we should discuss that use case, perhaps the solution, if we
> need one, is something other than what we talked about until now.
There’s no real-life use case I’ve stumbled upon.
I’m playing around with src/casefiddle.c adding support for various
corner cases (such as ﬁsh becoming Fish or FISH) and was surprised by
(upcase "istanbul") when testing Turkish support.
ミハウ “𝓶𝓲𝓷𝓪86” ナザレヴイツ
«If at first you don’t succeed, give up skydiving»