Re: Mac/WIndows ASCII characters

2013-08-18 Thread Warren Samples
On 08/17/2013 03:01 PM, Peter Haworth wrote: Do you happen to know if all the entities mentioned there are supported within htmltext? Per my other post, they're not all mentioned in the dictionary entry for htmltext LiveCode seems to render all the html entities, in both forms where

Re: Mac/WIndows ASCII characters

2013-08-17 Thread Peter Haworth
Thanks for the clarification Mark. Am I right in thinking no special action is necessary for Linux? Pete lcSQL Software http://www.lcsql.com On Fri, Aug 16, 2013 at 6:53 PM, Mark Schonewille m.schonewi...@economy-x-talk.com wrote: Hi Pete, Either use isoToMac(numToChar(182)) or

Re: Mac/WIndows ASCII characters

2013-08-17 Thread Peter Haworth
Thanks Curry. That might be the easiest way to go - no platform check involved. I'm also putting a horizontal ellipsis character in the text so hopefully there's an html equivalent of that. Pete lcSQL Software http://www.lcsql.com On Fri, Aug 16, 2013 at 10:51 PM, Curry Kenworthy

Re: Mac/WIndows ASCII characters

2013-08-17 Thread Peter Haworth
Looking into this further, it appears the list of namd html entities in the dictionary entry for htmltext is very incomplete. I just tried crarr; and hellip; and they both work fine but are not listed in the dictionary. Does anyone have an up to date list of what LC recognizes in htmltext for

Re: Mac/WIndows ASCII characters

2013-08-17 Thread Warren Samples
On 08/17/2013 12:34 PM, Peter Haworth wrote: hopefully there's an html equivalent of that. http://www.html-entities.org/ ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your

Re: Mac/WIndows ASCII characters

2013-08-17 Thread Mark Schonewille
Hi Pete, You can treat Linux in the same way as Windows. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab

Re: Mac/WIndows ASCII characters

2013-08-17 Thread Richmond
On 08/17/2013 09:38 PM, Mark Schonewille wrote: Hi Pete, You can treat Linux in the same way as Windows. Really? That's odd as I didn't know it was that similar! LOL. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com

Re: Mac/WIndows ASCII characters

2013-08-17 Thread Peter Haworth
Thanks Warren, that works. Do you happen to know if all the entities mentioned there are supported within htmltext? Per my other post, they're not all mentioned in the dictionary entry for htmltext Pete lcSQL Software http://www.lcsql.com On Sat, Aug 17, 2013 at 11:05 AM, Warren Samples

Re: Mac/WIndows ASCII characters

2013-08-17 Thread Peter Haworth
Thanks Mark. I decided to go the htmltext route so I don't have to worry about platforms. Pete lcSQL Software http://www.lcsql.com On Sat, Aug 17, 2013 at 11:38 AM, Mark Schonewille m.schonewi...@economy-x-talk.com wrote: Hi Pete, You can treat Linux in the same way as Windows. -- Best

Mac/WIndows ASCII characters

2013-08-16 Thread Peter Haworth
I'm displaying data from a custom property in a scrolling list field. Before I put the data into the field, I replace return chars in it with numToChar(182) - the paragraph symbol. This works fine on Windows but on a Mac I get a completely different character - an O with some sort of accent

Re: Mac/WIndows ASCII characters

2013-08-16 Thread Mark Schonewille
Hi Pete, Either use isoToMac(numToChar(182)) or numToChar(166). The isoToMac and macToIso functions apply to all ASCII character above 128 and not only if store on one platform and displayed on another. If you use the Latin-1 character table on Mac, like you're doing now, you'll always need

Re: Mac/WIndows ASCII characters

2013-08-16 Thread Curry Kenworthy
Pete wrote: I replace return chars in it with numToChar(182) - the paragraph symbol. This works fine on Windows but on a Mac I get a completely different character - an O with some sort of accent over it. Try para; with htmltext! Best wishes, Curry K.