building cross-platform Windows and Mac

Devin Asay devin_asay at byu.edu
Mon Jan 5 18:52:12 EST 2015


On Jan 5, 2015, at 3:53 PM, william humphrey <bill at bluewatermaritime.com> wrote:

> I noticed that √ which is a checkmark on Mac-OS is | a pipe symbol on Windows.
> 
> Is there a font I can choose on my design that will work the same on
> Windows and Mac?
> 
> I hope I don't have to put a bunch of "check which platform and do
> this or that".  I assumed the font characters were the same and I'm
> kind of surprised.

The Unicode character for checkmark is U+2713 (decimal 10,003), so if you’re using LC 7 just be sure to use that code point in your field. However, even in pre-v.7 you can set the character as an html unicode entity:

  set the htmltext of fld 1 to "✓”

HTH

Devin

Devin Asay
Office of Digital Humanities
Brigham Young University



More information about the use-livecode mailing list