Thanks Mark for the reply.

No, ‘lt' is less than and ‘gt' is greater than: these symbols are readily 
available on both the Mac and PC character sets, so if the objective is simply 
to display the correct glyph, it doesn’t matter if one shows them as html or 
just a simple character. My issue is with 'less than or equal' (and in 
principle ‘greater than or equal’). These are represented on the regular Mac 
keyboard as option-comma and option-period, but these codes are not the same on 
the PC. Hence my need to use html, since these characters are part of the 
standard html repertoire.

A possible (but not very probably IMHO) cause of the problem is that ‘le’ and 
‘ge’ are not in the LC dictionary as recognised subset-html characters dealt 
with by LC: but in fact they do work, just not when switched from Mac to PC. 
Odd.

Graham

> On 31 Oct 2014, at 16:05, Mark Schonewille <m.schonewi...@economy-x-talk.com> 
> wrote:
> 
> Hi Graham,
> 
> I think that should be lt and gt.
> 
> --
> Best regards,
> 
> Mark Schonewille
> 
> Economy-x-Talk Consulting and Software Engineering
> Homepage: http://economy-x-talk.com
> Twitter: http://twitter.com/xtalkprogrammer
> KvK: 50277553
> 
> Installer Maker for LiveCode:
> http://qery.us/468
> 
> Buy my new book "Programming LiveCode for the Real Beginner" 
> http://qery.us/3fi
> 
> LiveCode on Facebook:
> https://www.facebook.com/groups/runrev/
> 
> On 10/31/2014 15:00, Graham Samuel wrote:
>> I’ve got a little field with a single “less than or equal to” character in 
>> it. The character got there from executing
>> 
>>  set the htmlText of fld “myField” to <p>&le;</p>
>> 
>> from the message box while programming in the IDE (LC 6.6.5)
>> 
>> This works fine on a Mac, but I just noticed that it doesn’t work on a PC. 
>> When I open the card containing this field in LC on a PC running Windows 7, 
>> and execute this from the message box
>> 
>>  put the htmlText of fld “myField”
>> 
>> I get
>> 
>>  <p>&#16;</p>
>> 
>> which does not display as a less than or equal glyph. If I reset the 
>> contents of the field using <p>&le;</p>, it displays correctly.
>> 
>> Anyone any idea what's going on? How did '&le;' get changed to '&16;'? Seems 
>> totally weird to me.
>> 
>> TIA for any suggestions.
>> 
>> Graham
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to