How do you guys know this stuff? Awesome.

Bill

On Jan 22, 2012, at 7:16 PM, Bill Vlahos wrote:

> Mark,
> 
> Perfect. That's it!
> 
> Coincidentally I also found it in the notes section for Open File by 
> rod...@oceanbrowser.com:
>> If you are reading in a text file (for example) which contains high ascii 
>> values (such as curly quotes - numToChar(210) ) you will find that these are 
>> displayed as garbage in the variable watcher, or if you set directly to the 
>> field contents.
>> 
>> The solution is to encode and decode the content:
>> 
>> #tData contains your data read in from file
>> put uniDecode(uniEncode(tData, "UTF8")) into tData
>> 
>> (All credit to Dave Cragg and Devin Assay for this tip)

_______________________________________________
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