Yes, please. S.
> On Behalf Of Malte Brill
> Sent: Monday, June 06, 2011 10:32 AM
> To: use-livecode@lists.runrev.com
> Subject: Re: Cyrillic input
>...
> Short recap: The only keyboard message that appears to fire with cyrillic
> keyboards is rawKeyUp. I am currently work
Hi all,
thanks to Mark Waddingham, I was able to get a few things sorted regarding
password and numbers only fields.
Short recap: The only keyboard message that appears to fire with cyrillic
keyboards is rawKeyUp. I am currently working on a little field library that I
will be making available
Thanks for the feedback all!
Still struggeling with a few things though.
Scenario is as follows: I talk to a server that always sends UTF8. The data
sent is XML. While we were using Western European languages only this all
worked just fine. Now that the app needs to support Russian, there is qu
Hi Malte,
You're making this way too complicated. Just *always* use the unicodeText. It
will always be encoded as UTF16 and you can always decode it to UTF8. Easy.
--
Best regards,
Mark Schonewille
Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter:
nvert it to UTF-8:
>
> put uniDecode(myVar2, "UTF16") into myVar2
>
> Now myVar2 is UTF-8 and can be stored in a file or processed by scripts.
>
> There are apparently limitations to what you can do with Cyrillic in LC, but
> the things that I have listed all work for me.
>
Thanks mark and Slava!
well, this is getting me a bit further. Now if only I knew if I could reliably
check if the text in my field regular ASCII or UTF encoded, that would really
make my day.
Cheers,
malte
___
use-livecode mailing list
use-livecode@
May 31, 2011 4:42 AM
> To: How to use LiveCode
> Subject: Re: Cyrillic input
>
> Malte,
>
> First:
>
> put uniEncode(someDataFromFile,"UTF8") into myData
> set the unicodeText of fld x to myData
>
> Then a few possibilities:
>
> set the textfont o
Malte,
First:
put uniEncode(someDataFromFile,"UTF8") into myData
set the unicodeText of fld x to myData
Then a few possibilities:
set the textfont of fld x to "SomeFont,Unicode"
(may have some unexpected side-effects) or
set the textFont of char 1 to -1 of fld x to "SomeFont,Unicode"
(may ca