m.schonewille at economy-x-talk.com
Sat Aug 13 10:04:01 EDT 2011
It doesn't work because the first char actually gets the first byte and thus you only get the first half of the first character.
This might work, depending on the textFont setting and maybe writing direction:
set the unicodetext of fld "xxx" to char 1 to 2 of the unicodetext of fld "zzz"
Economy-x-Talk Consulting and Software Engineering
What does that error mean? Buy LiveCodeErrors for iPhone now http://qery.us/v4 A must-have for LiveCode programmers.
On 13 aug 2011, at 15:43, Richmond Mathewson wrote:
> Anybody know why this doesn't work:
> on mouseUp
> set the useUnicode to true
> set the unicodeText of fld "XXXX" to the first char of the unicodeText of fld "ZZZZ"
> end mouseUp
More information about the Use-livecode