MacToISO is still confusing me

J. Landman Gay jacque at
Sat Dec 21 20:56:44 EST 2013

On 12/21/13 4:48 PM, Graham Samuel wrote:

> Sadly I'm having trouble. Take the Greek letter pi, often used in
> mathematics. There is a native Mac encoding for it, which turns out
> to be decimal 185. But if you do this in the LiveCode message box
> running on a PC:
> put MacToISO(numToChar(185))
> you don't get a pi symbol. This is not a good start.

You might try passing the actual Mac character instead of the ascii 
number. I don't have high hopes, but it's worth a test.

Numbers over 128 will vary by font. I looked at a couple of character 
maps for Windows and most of the math symbols seem to be in there, but 
they change locations. I found >= in the unicode section for one font, 
and at ascii position 179 in another.

That's pretty much why I ended up using html. Most special characters 
have entity names, and the OS translates those into the right symbols.


Jacqueline Landman Gay         |     jacque at
HyperActive Software           |

More information about the Use-livecode mailing list