You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Something seems off with just those characters in the json file.
Repro:
<?phpdeclare(strict_types=1);
$all = file_get_contents('confusables.json');
$all = json_decode($all, true);
print_r($all['a']); // this is fine, prints out array of 23 confusablesprint_r($all['m']); // PROBLEM: Only prints one confusable, {"c":"rn","n":"LATIN SMALL LETTER R, LATIN SMALL LETTER N"}print_r($all['w']); // PROBLEM: Only prints one confusable, {"c":"vv","n":"LATIN SMALL LETTER V, LATIN SMALL LETTER V"}
What both of these have in common is that the only confusable happens to be a double char: m has rn and w has vv, so maybe there is a bug in the generation of this file that doesn't know about multi-character confusables?
Here's a link showing actual confusables for M and W, which I would expect to be in this JSON file:
Something seems off with just those characters in the json file.
Repro:
What both of these have in common is that the only confusable happens to be a double char:
m
hasrn
andw
hasvv
, so maybe there is a bug in the generation of this file that doesn't know about multi-character confusables?Here's a link showing actual confusables for M and W, which I would expect to be in this JSON file:
https://util.unicode.org/UnicodeJsps/confusables.jsp?a=manwe&r=None
The text was updated successfully, but these errors were encountered: