Re-2: Unicode Displaying in Runtime Revolution
Trevor DeVore
lists at mangomultimedia.com
Tue Apr 19 23:39:43 EDT 2005
On Apr 19, 2005, at 8:14 PM, Marisa Kosaisaevee wrote:
>
> I tried to display different languages in RunRev but it didn't work. I
> use "put" command to display the content of the file;
>
> on openCard
> put URL "file:arabic.rtf" into fld Arabic
> ...
> end openCard
>
> However, all these files use just to see whether other languages can
> be displayed or not, no meaning. Still, they didn't display what I
> expected. May be I did sth wrong here.??
Hi Marisa,
When reading in Unicode files you to use binfile as opposed to file.
You also need to set the unicodeText property of the field. So I think
the above would look something like this (not tested):
set the unicodeText of field "Arabic" to URL "binfile:arabic.rtf"
For more tips on unicode click on the "Topics" button in the Revolution
help window and type unicode into the search field (with "Filter with:"
selected). This provides some useful information.
--
Trevor DeVore
Blue Mango Multimedia
trevor at mangomultimedia.com
More information about the use-livecode
mailing list