From fafe16a673c8ccfa7da1ae07e346433783a15a1d Mon Sep 17 00:00:00 2001 From: Bram Matthys Date: Sun, 23 Mar 2025 13:19:07 +0100 Subject: [PATCH] AntiMixedUTF8: change emoticon transition score from 1 to 0 You will still get a score of +1 if afterwards changing back to Latin or anything else, but at least the Latin/anything -> Emoticon transition is free now (score 0). And if ending with an emoji it also means a score 0 (as far as this is concerned). --- src/modules/utf8functions.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/utf8functions.c b/src/modules/utf8functions.c index 486a2e696..24f745542 100644 --- a/src/modules/utf8functions.c +++ b/src/modules/utf8functions.c @@ -341,7 +341,7 @@ UnicodeBlocks unicode_blocks[UNICODE_BLOCK_COUNT] = {0x1F100, 0x1F1FF, "Enclosed Alphanumeric Supplement", 1}, {0x1F200, 0x1F2FF, "Enclosed Ideographic Supplement", 1}, {0x1F300, 0x1F5FF, "Miscellaneous Symbols and Pictographs", 1}, - {0x1F600, 0x1F64F, "Emoticons", 1}, + {0x1F600, 0x1F64F, "Emoticons", 0}, {0x1F650, 0x1F67F, "Ornamental Dingbats", 1}, {0x1F680, 0x1F6FF, "Transport and Map Symbols", 1}, {0x1F700, 0x1F77F, "Alchemical Symbols", 1},