copying unicode text into other applications
m.schonewille at economy-x-talk.com
Sun Jul 13 13:04:47 CDT 2008
This should be one of the following:
set the clipboarddata["html"] to the htmlText of field "my_field"
set the clipboarddata["rtf"] to the rtfText of field "my_field"
set the clipboarddata["unicode"] to the unicodeText of field "my_field"
Due to bugs in Revolution, each method has advantages and disadvantages.
Economy-x-Talk Consulting and Software Engineering
Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html
for more info.
On 13 jul 2008, at 19:46, Randolph Valentine wrote:
> Hello, all. I have Unicode text in a field, the text consisting of
> characters from the Canadian Aboriginal Syllabics portion of
> Unicode. It
> displays fine, and I’m very happily able to produce it via a script,
> but I
> can’t figure out how to copy it to the clipboard so that it comes
> out right
> pasted into, say, MicroSoft Word.
> The Revolution dictionary says:
> To copy or export Unicode text from a field while preserving font,
> size, and color information, use the htmlText property.
> Now, really, this note is not terribly helpful, because it doesn't
> tell you
> HOW to do this!
> So when I try something like:
> set the clipboarddata["htmltext"] to the htmlText of field "my_field"
> I get garbage pasted into Word.
> And when I try
> set the clipboarddata["htmltext"] to the unicodeText of field
> Still garbage. What is the command (sequence) to get the Unicode
> text to
> properly copy? Thanks.
> rand valentine
More information about the use-livecode