Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X
Does anybody know how Mathcad strings are encoded?
I've got a project on the back burner to look at Babylonian mathematics, including astronomical observations. I'd like to convert between Arabic and Sumerian/Babylonian numbers and display them accordingly. Unfortunately, whilst Unicode has code points for cuneiform numerals, I can't display them.
According to the Mathcad Prime 11 Help,
The restriction to valid integers being < 256 isn't strictly true. Mathcad string vectors can contain many code points from the Basic Multilingual Plane (BMP) (ie, values < 65536 U+FFFF), Mathcad strings do not, however, support code points in the Supplementary Planes (eg, the Supplementary Multilingual Plane U+10000 - U+1FFFF).
There is, however, a mechanism called Surrogate Pairs that provides an alternative to indexing a character in a Supplementary Plane.
I'm not sure whether Mathcad doesn't support surrogate pairs, or whether I'm not using them correctly.
The ability to use supplementary characters might be useful to players of games, as there are code points for playing cards, dominos, chess pieces, and mahjong.
Stuart
https://en.wikipedia.org/wiki/List_of_Unicode_characters#Game_symbols
