unicode rtf support

Tuviah Snyder tuviah at runrev.com
Thu Sep 4 18:52:01 EDT 2003


> A client supplies RTF-files saved from MS-Word (Mac & PC) with all kind of
> special characters in it.
> I'm able to import this RTF in my app, getting all specs and all special
> chars are maintained in this text.
>
> When editing this text and exporting it as an RTF-file, all special chars
> are gone when reopening the file in Word.
>
> After looking into the specs of the RTF-format, as mentioned in the RR
> documentation, I found that there are special control-chars in the RTF
> format to use Unicode-files, and thus maintaining all special chars.
>
> Is there a way to export Unicode text as RTF, or is there another way to
> keep all special chars when exporting text-files?
Yes just get the rtftext of a field and it should export the unicode
characters as hexidecimal, multibyte characters which should display fine in
other programs.

Tuviah Snyder <tuviah at runrev.com> <http://www.runrev.com/>
Runtime Revolution Limited - Software at the Speed of Thought





More information about the use-livecode mailing list