Is there an elegant, cross-platform, way to determine the latest Unicode version that a machine supports?

top 6 comments

sorted by: hot top controversial new old
[–] 4 points 3 years ago (1 child)

What do you mean by "system support"? The system is mostly pushing bytes along, the programming languages/UI ovaries tend to do all the hard work. So it is usually more interesting to see what those support.

  • source
  • hideshow 1 child comment
  • [–] [S] 2 points 3 years ago* (last edited 3 years ago)

    Emoji support is probably the best way to demonstrate what I mean:

    A simple example: if this (🐦‍⬛) renders as an image of a blackbird, your system supports Unicode 15.0.

    A more complex example: if this (🧑‍⚖️) appears as a judge, your system supports Unicode 12.1, if it appears as a Person followed by Scales your system supports Unicode 10.0, and if you can only see the Scales, your system supports Unicode 4.1.

    The downstream use case would be to avoid attempting to output specific characters for a user that wouldn't see them correctly (i.e. if I want to output a blackbird, I want them to see it, or if I output a judge I don't want them to see scales).

  • source
  • parent
  • [–] 3 points 3 years ago (1 child)

    Is this "support" in the sense of "can this sequence of code points be rendered correctly to the screen"?

    OS and font dependent.

  • source
  • hideshow 1 child comment
  • [–] 2 points 3 years ago (1 child)

    Which programming language do you have in mind?

  • source
  • hideshow 1 child comment
  • load more comments
    view more: next ›