the mouseText and Unicode

BNig niggemann at uni-wh.de
Sat Jun 18 11:52:40 EDT 2011


Hi Slava,

I tried your example of mixed unicode and ASCII words. Using the word
technique and the html I did this:

-----------------------------
on mouseUp 
   get word 2 of the clickCharChunk
   put the number of words in char 1 to it of me into tWordNum
   put word 1 to (the number of words in char 1 to it of me) of me into
tWords
   put the htmlText of  word tWordNum of me into tWordClicked 
   put tWordClicked into field 3
   set the htmlText of field 2 to tWordClicked
end mouseUp 
-------------------------------
3 fields, the first contained the unicode/ASCII mix of your example I pasted
it into the field from the browser, looked good.
second field is where your clicked word goes
third field where the html of the clicked word goes.

worked quite well except for Роберт he must have chinese ancestors :)

all other words came over as they should. The html of the word makes it even
easy to parse out the comma.

maybe this is a lead to your problem? Or I am way off, don't know anything
about unicode.

Kind regards

Bernd


--
View this message in context: http://runtime-revolution.278305.n4.nabble.com/the-mouseText-and-Unicode-tp3607206p3607973.html
Sent from the Revolution - User mailing list archive at Nabble.com.




More information about the use-livecode mailing list