+ assert(ch >= 0);
++ for (i = 0; i < cs->nequiv_classes; i++)
++ /* sadly, we can only deal with single characters from an
++ * equivalence class */
++ if (__collate_equiv_match(cs->equiv_classes[i], NULL, 0, ch, NULL, 0, NULL, NULL, loc) > 0)
++ return (!cs->invert);
+ if (ch < NC)
+ return (((cs->bmp[ch >> 3] & (1 << (ch & 7))) != 0) ^
+ cs->invert);
+@@ -144,26 +154,27 @@