LC 7 knows the difference between binary and text - this is retained when 
saving custom props (if you save in 7+ format).

The only rub is that for existing stacks in the old format custom props will be 
taken to be binary data (which auto converts to text assuming the native 
encoding). Thus you will need to still do the charset translation there for the 
props that are text. If you then textdecode that and set the property to the 
result and save in lc7 format then it will then be treated as text in future 
(so no charset translation is required in future).

Sent from my iPhone

> On 22 Jul 2015, at 22:06, Dan Friedman <d...@clearvisiontech.com> wrote:
> 
> Hello!   Way back in LiveCode 5 and 6, custom properties were not ported to 
> the proper character set when you opened the stack on a different platform 
> (Mac --> Win or Win --> Mac).  This was easily solved by a simple macToISO() 
> or ISOtoMac().   However, it appears that LC 7.x is now doing this char 
> mapping for custom properties on it's own.  Before I modify a mountain of 
> code, can anyone confirm that LC 7+ automatically maps custom properties to 
> the proper char set for the host platform?
> 
> Thanks!
> Dan
> _______________________________________________
> 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