uniEncode, uniDecode function
Posted: Tue Mar 03, 2015 12:03 pm
Hello
,
I was using uniEncode, uniDecode function, but I found that it gives a lot of loads to processors. The data I am dealing is not Unicode. it's just english alphabet and numbers. I was wondering if there is function for non-Unicode..so it will have less load to processor. here is my code
Please let me know if anyone knows the function for non Unicode text which has less loads to processor..Thanks a lot in advance!
Louis

I was using uniEncode, uniDecode function, but I found that it gives a lot of loads to processors. The data I am dealing is not Unicode. it's just english alphabet and numbers. I was wondering if there is function for non-Unicode..so it will have less load to processor. here is my code
Code: Select all
on saveMyCardToDataStack
set the Text of stack tDataStackPath to uniDecode( unicodeText of fld "saved" of card "saved", "UTF8")
end saveMyCardToDataStack
on restoreMyCardFromDataStack
set the unicodeText of field "saved" of card "saved" to uniEncode (the Text of stack tDataStackPath, "UTF8")
end restoreMyCardFromDataStack
Louis