Subject: bug#23833: 24.5; assoc-string with CASE-FOLD may fail

From: Eli Zaretskii <[email-masked]>
Date: Thu, 23 Jun 2016 19:19:09 +0300

> From: Noam Postavsky <[email-masked]>
> Date: Thu, 23 Jun 2016 11:53:00 -0400
> Cc: [email-masked], [email-masked]
> 
> Would it not make more sense if upcase converted ǳ into Ǳ?

We want to go by what UnicodeData.txt says:

  01F1;LATIN CAPITAL LETTER DZ;Lu;0;L;<compat> 0044 005A;;;;N;;;;01F3;01F2
  01F2;LATIN CAPITAL LETTER D WITH SMALL LETTER Z;Lt;0;L;<compat> 0044 007A;;;;N;;;01F1;01F3;01F2
  01F3;LATIN SMALL LETTER DZ;Ll;0;L;<compat> 0064 007A;;;;N;;;01F1;;01F2

The problem here is that both Ǳ and ǲ name ǳ as their lower-case
variant, and Emacs can only have one pair.  So we chose the other one
for the upcase conversion.  We could switch them, but one of them will
necessarily be lost, this way or another.