2 ms·
One of the fun things about the Unicode bidi algorithm is that it flips brackets. You always use ( as an open round bracket, but if your script is rtl it appear
by fanf2 2y ago
One of the fun things about the Unicode bidi algorithm is that it flips brackets. You always use ( as an open round bracket, but if your script is rtl it appears like ). In order to support this feature, Unicode has a list of all known kinds of reversible paired brackets.
https://www.unicode.org/Public/UNIDATA/BidiBrackets.txt https://www.unicode.org/Public/UNIDATA/BidiBrackets.txt
For extra fun, C++ < angle brackets > are, of course, not brackets.