RE: Cyrillic input

2011-06-06 Thread Slava Paperno
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

Re: Cyrillic input

2011-06-06 Thread Malte Brill
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

Cyrillic input: working with chunks of Russian

2011-06-01 Thread Slava Paperno
Malte, You said, > I do not appear to be able to say set the UnicodeText of fld "test" to line 2 to -1 of UTF16String. This does work for me. I don't know what the etiquette is on this list regarding attachments, so I uploaded my screen shot to http://russian.cornell.edu/CyrillicChunks.png. It h

Re: Re: Cyrillic input

2011-06-01 Thread Malte Brill
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

Cyrillic input

2011-06-01 Thread Slava Paperno
it out in a separate (related) thread--which saved my day. Slava > -Original Message- > From: use-livecode-boun...@lists.runrev.com [mailto:use-livecode- > boun...@lists.runrev.com] On Behalf Of ron barber > Sent: Wednesday, June 01, 2011 10:11 AM > To: How to use Liv

Re: Cyrillic input

2011-06-01 Thread Mark Schonewille
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:

Re: Cyrillic input

2011-06-01 Thread ron barber
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. >

Cyrillic input

2011-06-01 Thread Slava Paperno
al Message- > From: use-livecode-boun...@lists.runrev.com [mailto:use-livecode- > boun...@lists.runrev.com] On Behalf Of Malte Brill > Sent: Wednesday, June 01, 2011 9:23 AM > To: use-livecode@lists.runrev.com > Subject: Re: Re: Cyrillic input > > Thanks mark and Slava! > >

Re: Re: Cyrillic input

2011-06-01 Thread Malte Brill
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@

RE: Cyrillic input

2011-05-31 Thread Slava Paperno
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

Re: Cyrillic input

2011-05-31 Thread Mark Schonewille
2011, at 10:22, Malte Brill wrote: > Hi all, > > for the first time I need to deal with cyrillic input (and reading from text > files) in liveCode. Now I am a bit stumped. > > When I switch my keyboard to russian, the text field does seem to > automagically recognize that I

Cyrillic input

2011-05-31 Thread Malte Brill
Hi all, for the first time I need to deal with cyrillic input (and reading from text files) in liveCode. Now I am a bit stumped. When I switch my keyboard to russian, the text field does seem to automagically recognize that I am typing in cyrillic. The glyphs show up. So far so good. If I now