the mouseText and Unicode: the Russian letter R

Slava Paperno slava at
Sat Jun 18 15:27:22 EDT 2011

Something is different about the Russian upper case R (Р, decimal 1056, hex 0420, you can copy it from Character Map in Windows). That's why Robert misbehaves, and so do Ruanda, Rodesia, and even USSR.

Seriously, when the word СССР is clicked on any of the first three letters, and I use one of the hacks we've been discussing, the first three letters of the word are displayed (but not the fourth one, the R). When I click the fourth letter (the Russian R) a rectangle is displayed instead of the word--a placeholder we often see for a character that is missing in the font. It is not a font problem--the word is displayed fine in the original field where I click it, and the same font is used in all fields.
Curiouser and curiouser...


> -----Original Message-----
> From: use-livecode-bounces at [mailto:use-livecode-
> bounces at] On Behalf Of BNig
> Sent: Saturday, June 18, 2011 1:10 PM
> To: use-revolution at
> Subject: RE: the mouseText and Unicode
> Slava,
> Роберт gave up:
> -----------------------
> on mouseUp
>    get word 4 of the clickCharChunk
>    put the number of words in char 1 to it of me into tWordNum
>    select word tWordNum of me
>    put the htmlText of  the selectedtext into tWordClicked
>    put tWordClicked into field 3
>    set the htmlText of field 2 to tWordClicked
> end mouseUp
> ----------------------
> note: get word 4 of the clickcharChunk
> without selecting the word it did not work
> this works but don't ask me why
> Kind regards
> Bernd
> --
> View this message in context: http://runtime-
> tp3607206p3608073.html
> Sent from the Revolution - User mailing list archive at
> _______________________________________________
> use-livecode mailing list
> use-livecode at
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:

More information about the Use-livecode mailing list