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
$ uni print 43 42 41 43
CPoint Dec UTF8 HTML Name (Cat)
'A' U+0041 65 41 A LATIN CAPITAL LETT… (Uppercase_Let…)
'B' U+0042 66 42 B LATIN CAPITAL LETT… (Uppercase_Let…)
'C' U+0043 67 43 C LATIN CAPITAL LETT… (Uppercase_Let…)
'C' U+0043 67 43 C LATIN CAPITAL LETT… (Uppercase_Let…)
As you can see, the output from print sorts characters by codepoints rather than outputting them in the order given on the command line. This is a problem for scripted use, and it's inconsistent with how uni identify works. It also seems strange that the codepoints are sorted but duplicates are not removed.
The text was updated successfully, but these errors were encountered:
I think sorting it like this by default makes sense, because unlike identify you usually don't really care about the order on the CLI, but rather about printing the ranges, blocks, categories, in any order. Or at least, that's how I use it.
As you can see, the output from
print
sorts characters by codepoints rather than outputting them in the order given on the command line. This is a problem for scripted use, and it's inconsistent with howuni identify
works. It also seems strange that the codepoints are sorted but duplicates are not removed.The text was updated successfully, but these errors were encountered: