Custom props and unicode

Klaus Major klaus at major-k.de
Thu Jun 2 09:09:39 EDT 2005


Hi Lars,

> Hi all!
>
> I've been looking like crazy in the archives for tips here, but not  
> finding the answer to this.  Is it posssible to store unicode text  
> in a custom property?  If yes, how? If no, oh well!  It's simple  
> really - I want to put unicode text into a customProp and then  
> display it in a field.  I've been trying to use useUnicode,  
> uniEncode and uincodeText properties, but if one of these will do  
> the trick, I am simply doing it wrong. Advice or not possible?

maybe you could use HTMLTEXT?
...
set the blablaprop of this stack to the htmltext of fld "yadda"
...

And back:
...
set the htmltext of fld "yadda" to the blablaprop of this stack
...

Works fine and is extremely crossplatform :-)

If you only have some unicode textfiles, a repeat loop with one field
envolved should do the trick.

But i have no idea on how to convert unicode text to "htmltext" without
using a field...

> Cheers,
>
> Lars

Regards

Klaus Major
klaus at major-k.de
http://www.major-k.de



More information about the use-livecode mailing list