Mac/WIndows ASCII characters

Peter Haworth pete at lcsql.com
Sat Aug 17 13:33:13 EDT 2013


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.schonewille at economy-x-talk.com> wrote:

> 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 the
> isoToMac function to convert the characters to MacRoman.
>
> --
> 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 and other colour
> spaces. http://www.color-converter.com
>
> We have time for new software development projects. Contact me for a quote.
>
>
>
>
>
>
> On 17 aug 2013, at 03:43, Peter Haworth wrote:
>
> > 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
> > over it.
> >
> > I'm aware of the ISOToMac/MacToISO functions but I thought those were
> only
> > for ascii chars > 128 that were stored on Windows then displayed on Mac
> or
> > vice versa.  In this case, I'm just replacing the return character before
> > loading it into the field, not changing it in the custom property.
> >
> > What am I doing wrong?
> >
> > Pete
> > lcSQL Software <http://www.lcsql.com>
>
>
>
> _______________________________________________
> 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