
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