Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^7: Unicode vulgar fraction composition

by raygun (Scribe)
on Oct 09, 2020 at 05:18 UTC ( [id://11122617]=note: print w/replies, xml ) Need Help??


in reply to Re^6: Unicode vulgar fraction composition
in thread Unicode vulgar fraction composition

one could possibly argue that this should be have been a standard decomposition rather than a compatibility decomposition.
I might agree with someone making this argument, but it is not the argument I'm making or have made in this thread.
"7/8" isn't a grapheme, much less the same one as "⅞".
(where the "/" above is shorthand for U+2044 FRACTION SLASH)

My understanding of the intent of the Unicode FRACTION SLASH character is that it's intended to draw exactly such an equivalency. Your web browser agrees with this interpretation, rendering the sequences identically, as your footnote explains. Any use of a slash-like character to separate 7 and 8 with other meanings (like as part of a date) would have to use a slash other than U+2044. What exactly is the purpose of having a slash specifically earmarked for fractions if not to indicate that the string containing it does in fact represent a fraction?

Nonetheless, as you note, Unicode does make clear that this decomposition is a compatibility one rather than a standard one, so the Perl library correctly reflects this.

  • Comment on Re^7: Unicode vulgar fraction composition

Replies are listed 'Best First'.
Re^8: Unicode vulgar fraction composition
by ikegami (Patriarch) on Oct 11, 2020 at 05:27 UTC

    My understanding of the intent of the Unicode FRACTION SLASH character is that it's intended to draw exactly such an equivalency

    It could very well be intended that agents may draw them as a fraction when possible, but it's not always possible (e.g. pic), and that's what matters.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11122617]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (6)
As of 2024-04-25 08:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found