Just saw an improvement in my code that *should* make it happy to work with 
Unicode characters…

local OkayChars = ""
function CleanASCII3 DerText  if OkayChars = "" then -- construct OkayChars 
string as needed    repeat with K1 = 32 to 126      put numToChar (K1) after 
OkayChars    end repeat  end if
  put "" into DerRezult  repeat for each char CC in DerText    if CC is in 
OkayChars then put CC after DerRezult  end repeat  return DerRezultend 
CleanASCII3
Again, this code has not been tested, so use with caution.
_______________________________________________
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