Unicode revisited, this time with htmlText

Klaus Major klaus at major-k.de
Wed Nov 19 12:27:22 EST 2003


Hi Toma,

> Thanks, Klaus!
>
> but I am still not quite clear whether the fact that I cannot set 
> Unicode htmlText from
> the message box is a bug or a consequence of my not getting the syntax 
> right.

I am afraid you will have to write something like this to get NO 
gibberish (love this word :-)

set the htmltext of fld 1 to "<p><font face="Arial" 
lang="ru">добар</font> <font face="Arial" 
lang="ru">дан</font></p>"

That's the htmltext of your 2 russian words...

> I think there should be a way of setting the basic html styling of 
> Unicode text without having
> to import it from a text file and move it between the two fields.

That's true...

> More specifically, I am playing now with the display possibilities of 
> Unicode strings that I'm getting
> from a mySQL database.  Since I'm getting different strings from two 
> different tables and several
> different columns, but displaying them all in one text field, it would 
> make the most sense if I could
> script the html tags such as <b>, <i>, <font color> etc...
> to get a fabulously styled and deligtfully elegant display of my 
> information... :)

YO :-)


Regards

Klaus Major
klaus at major-k.de
www.major-k.de



More information about the use-livecode mailing list