unicode-org / unicodetools

home of unicodetools and https://util.unicode.org JSPs
https://util.unicode.org
Other
51 stars 39 forks source link

Feature Request: Codepoint property diff #575

Open iwsfutcmd opened 11 months ago

iwsfutcmd commented 11 months ago

Sometimes, it's really nice to be able to know how the properties of two codepoints differ. For example, if we at the SAH are trying to recommend using an existing codepoint for some novel usage, it'd be nice to easily compare two potential candidates by their properties.

It seems like it'd be a good addition to https://util.unicode.org/UnicodeJsps/character.jsp, although perhaps it'd be better as its own tool.

eggrobin commented 6 months ago

This would also be useful for PAG review; I keep saying that something new is propertywise like some existing thing, but I end up checking that by staring at the files, which is error prone (especially if the new character mistakenly has a default value for some property).

I just wrote a quick and dirty tool hidden in a test in https://github.com/eggrobin/unicodetools/tree/propertywise-like, I should make it its own command-line tool for my use (I don’t want to have to build local JSPs to do the PAG review) and also surface a feature like that in the JSPs so others can use it for existing characters.