Bit arithmetic on Unicode characters?
Doug Ewell
doug at ewellic.org
Fri Oct 7 17:52:53 CDT 2016
Andrew West wrote:
> Well, it could be picked up from that most treacherous of Unicode data
> files http://www.unicode.org/Public/UNIDATA/NamesList.txt
Even then, you have:
...
1D454 MATHEMATICAL ITALIC SMALL G
# <font> 0067 latin small letter g
1D455 <reserved>
x (planck constant - 210E)
1D456 MATHEMATICAL ITALIC SMALL I
# <font> 0069 latin small letter i
...
The only way you can tell from this that U+210E is a mathematical italic
small H is from the context of the previous character. That wouldn't
bode well if the letter A were one of the exceptionally located code
points. Thankfully, it never is, so this cleverness might work after
all.
--
Doug Ewell | Thornton, CO, US | ewellic.org
More information about the Unicode
mailing list