> Hello,
>
> I have used this for some time but it seems to be broken..
>
> For unicode text this should work. Any ideas?
>
>
I borrowed this one some time ago.
on get_as_text(a_string)
--coerce and corece to plain text
try
return (text of ((a_string as string) as record)) as string
end try
return a_string as string
end get_as_text