HTML representation of 'less than or equal to' - not cross-platform?

Mark Schonewille m.schonewille at economy-x-talk.com
Fri Oct 31 15:50:13 EDT 2014


Paul,

This won't work because isoToMac/macToIso convert from MacRoman to 
Latin-1 or back, while Latin-1 simply doesn't have that char. You can't 
convert something if it doesn't exist.

--
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 20:03, Paul Dupuis wrote:
> On 10/31/2014 1:01 PM, Graham Samuel wrote:
>>   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.
>
> See the isoToMac and macToIso functions in the dictionary. High ASCII
> characters (byte 128-255) differ between platforms. The htmText property
> of a field will not do a character conversion of these for you.
>
> Unfortunately, if your text contains high ASCII characters you need to
> know what platform it was generated on to use or convert via the
> functions above as needed.
>
> OR you need to encode any high ASCII characters in some platform
> independent format, like HTML Unicode characters such as &#nnnn;
>
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>




More information about the use-livecode mailing list