Problem with Unicode

Dar Scott dsc at swcp.com
Mon May 8 12:35:23 EDT 2006


On May 6, 2006, at 3:29 PM, RH wrote:

> on mouseUp
>
>   set the useUnicode to true
>
>   set the unicodeText of field "Russian2" to field "Russian1" -  
> only first
> word is moved correctly
>
> end mouseUp

Do this (as Mark Smith suggested):

on mouseUp
   set the unicodeText of field "Russian2" to the unicodeText field  
"Russian1"
end mouseUp


The useUnicode property is very limited in what it influences.  It  
applies to charToNum and numToChar only.  For example, from the code  
point of a Unicode character you can create the host-orter UTF-16  
used by Rev.

Dar Scott




More information about the Use-livecode mailing list