Re: Importing Unicode text to a field .. How?

2011-05-27 Thread J. Landman Gay
On 5/28/11 12:29 AM, sl...@lexiconbridge.com wrote: Don't you want to convert utf-8 to utf-16, ... to uniEncode (it, "UTF16")? I didn't have to. The text was already UIF16, little-endian. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http

Re: Importing Unicode text to a field .. How?

2011-05-27 Thread sl...@lexiconbridge.com
Don't you want to convert utf-8 to utf-16, ... to uniEncode (it, "UTF16")? Slava Sent from my mobile so please excuse brevity and typos. - Reply message - From: "J. Landman Gay" To: "How to use LiveCode" Subject: Importing Unicode text to a field .. How? Date: Sat, May 28, 2011 1:10

Re: Importing Unicode text to a field .. How?

2011-05-27 Thread J. Landman Gay
On 5/27/11 9:55 PM, Web Admin Himalayan Academy wrote: nope... that replacement does nothing... BTW, I think Richmond doesn't have any trouble with unicode lines because he's working on a Linux machine, so his line endings are already ascii 10. It would take a Windows or Mac user to notice.

Re: Importing Unicode text to a field .. How?

2011-05-27 Thread J. Landman Gay
On 5/27/11 9:55 PM, Web Admin Himalayan Academy wrote: nope... that replacement does nothing... on mouseup answer file "Choose the Unicode for this song" with "OK" if the result ="cancel" then exit mouseup set the useUnicode to true set the unicodetext of fld "Unicode_Script" to url ("binfile:/"

Re: Importing Unicode text to a field .. How?

2011-05-27 Thread Web Admin Himalayan Academy
I tried moving my cursor to the position in the single line (in the livecode field) where the CRLF or CR should be... I then selected forward to just before the first character of what should be on the next line... Livecode turned my selection into two characters. So I do indeed have 2bytes (I

Re: Importing Unicode text to a field .. How?

2011-05-27 Thread Web Admin Himalayan Academy
nope... that replacement does nothing... on mouseup answer file "Choose the Unicode for this song" with "OK" if the result ="cancel" then exit mouseup set the useUnicode to true set the unicodetext of fld "Unicode_Script" to url ("binfile:/" & it) # result: Tamil appears fine,

Re: Importing Unicode text to a field .. How?

2011-05-27 Thread Web Admin Himalayan Academy
it also works fine in LC if I cut and paste from pages... I just can't import it by script. On 5/27/11 11:03 AM, Bob Sneidar wrote: Looks good in Apple Mail too. Bit smallish tho. Bob On May 27, 2011, at 1:49 PM, stephen barncard wrote: FYI The Tamil text renders perfectly in Google Mail

[ANN] GET INSPIRED to do more with Livecode

2011-05-27 Thread Jim Ault
How? watch videos, ask questions, get answers - the same day I am launching a new service that is designed to do three things. Present new, high-quality video content each week. Answer your Livecode questions Showcase stacks created by some of the most accomplished Livecode programmers out the

Re: Importing Unicode text to a field .. How?

2011-05-27 Thread Bob Sneidar
Looks good in Apple Mail too. Bit smallish tho. Bob On May 27, 2011, at 1:49 PM, stephen barncard wrote: > FYI The Tamil text renders perfectly in Google Mail and Safari. > > On 27 May 2011 13:04, Richmond Mathewson wrote: > >> Something just occurred to me . . . >> >> > # THE FOLLOWI

Re: Importing Unicode text to a field .. How?

2011-05-27 Thread stephen barncard
FYI The Tamil text renders perfectly in Google Mail and Safari. On 27 May 2011 13:04, Richmond Mathewson wrote: > Something just occurred to me . . . > > # THE FOLLOWING IS A SINGLE LINE IN THE LC FIELD: Converted from மயிலை text in /Users/sivakatirswami/Documents/Tamil/Natch

Re: Importing Unicode text to a field .. How?

2011-05-27 Thread Richmond Mathewson
Something just occurred to me . . . # THE FOLLOWING IS A SINGLE LINE IN THE LC FIELD: Converted from மயிலை text in /Users/sivakatirswami/Documents/Tamil/Natchintanai in Unicode/3 Thannai Thannaal.txt தன்னைத்தன்னால்தன்னைத் தன்னால் அறிந்திட வேண்டுமேதானா யெங்குஞ் செறிந்திட வேண்டுமே[snip] on

Re: Importing Unicode text to a field .. How?

2011-05-27 Thread Richmond Mathewson
On 05/27/2011 10:34 PM, Sivakatirswami wrote: replace uniencode(numtochar(13)) with uniencode(numtochar(10)) That doesn't work either, it does nothing Richmond... these are "pure" unicode text files. not RTF or HTML... They open fine in Pages or text edit, I get Tamil as expected and pr

Re: Importing Unicode text to a field .. How?

2011-05-27 Thread Sivakatirswami
replace uniencode(numtochar(13)) with uniencode(numtochar(10)) That doesn't work either, it does nothing Richmond... these are "pure" unicode text files. not RTF or HTML... They open fine in Pages or text edit, I get Tamil as expected and proper endlines as expected. I can also copy and

Re: Question about Object Names

2011-05-27 Thread Richmond Mathewson
On 05/27/2011 08:54 PM, Bob Sneidar wrote: Well we can all at least be thankful that it is not how a woman would design a language either. Can you imagine having to hint at something and then the computer has to figure out what you really meant? ;-) Nothing like a bit of sexual stereotyping.

Re: Question about Object Names

2011-05-27 Thread Bob Sneidar
Well we can all at least be thankful that it is not how a woman would design a language either. Can you imagine having to hint at something and then the computer has to figure out what you really meant? ;-) send "there sure are a lot of numbers around here not doing anything right now" to sum

Re: Question about Object Names

2011-05-27 Thread Richard Gaskin
Devin Asay wrote: On May 27, 2011, at 9:30 AM, Richard Gaskin wrote: Todd Geist wrote: On Fri, May 27, 2011 at 7:57 AM, Richard Gaskin wrote: For example, you can call the numToChar function using either of these two forms: numToChar(128) the numToChar of 128 Meanwhile, the sum function c

[ANN] Live LiveCode code event #25

2011-05-27 Thread Björnke von Gierke
Hi all The event continues to churn on, this time with GUI-Superstar Scott Rossi. He will show us more information about his tmControl suite of custom controls, that is currently being developed for desktop and mobile. Note that once finished, this commercial add-on will allow you to have any s

Re: Question about Object Names

2011-05-27 Thread Devin Asay
On May 27, 2011, at 9:30 AM, Richard Gaskin wrote: > Todd Geist wrote: > >> On Fri, May 27, 2011 at 7:57 AM, Richard Gaskin wrote: >>> For example, you can call the numToChar function using either of these two >>> forms: >>> >>> numToChar(128) >>> the numToChar of 128 >>> >>> Meanwhile, the su

Re: Question about Object Names

2011-05-27 Thread Todd Geist
On Fri, May 27, 2011 at 8:30 AM, Richard Gaskin wrote: > > But for myself the problem is easily worked around: I usually just ignore > the capability of using property syntax for function calls. > > I find it much clearer to read code in which functions are called using > function syntax and prop

Re: Question about Object Names

2011-05-27 Thread Richard Gaskin
Todd Geist wrote: On Fri, May 27, 2011 at 7:57 AM, Richard Gaskin wrote: For example, you can call the numToChar function using either of these two forms: numToChar(128) the numToChar of 128 Meanwhile, the sum function can only be called using function syntax: sum(1,2,3) -- works the sum

Re: Question about Object Names

2011-05-27 Thread Todd Geist
On Fri, May 27, 2011 at 7:57 AM, Richard Gaskin wrote: > For example, you can call the numToChar function using either of these two > forms: > > numToChar(128) > the numToChar of 128 > > Meanwhile, the sum function can only be called using function syntax: > > sum(1,2,3) -- works > the sum of

Re: download and save a file

2011-05-27 Thread Richmond Mathewson
On 05/27/2011 06:02 PM, stephen barncard wrote: Richmond, Have you actually made a request to the Cyberduck people for a Linux version ? No, I haven't, because there are several perfectly good Linux FTP clients around. I was actually "picking holes" in your 'cross platform' claim, rather th

Re: download and save a file

2011-05-27 Thread Richard Gaskin
Nicolas Cueto wrote: What commands or methods are there for downloading and saving a file (jpg, au, mp3) from my on-rev account to a local computer? You could use an off-the-shelf FTP tool for this, but it's more fun to do it in LiveCode. Have you tried libUrlDownloadToFile?:

Re: download and save a file

2011-05-27 Thread stephen barncard
Richmond, Have you actually made a request to the Cyberduck people for a Linux version ? I know there will never be a 'nix version of Outlook, but the Duck is FOSS (GNU). http://trac.cyberduck.ch/browser sqb > > On 27 May 2011 07:26, Richmond Mathewson wrote: > >> On 05/27/2011 05:15 PM, ste

Re: Question about Object Names

2011-05-27 Thread Richard Gaskin
Todd Geist wrote: I am confused by an inconsistency I am seeing. I think it points to something I missing about object names and references. Using the Object Inspector you can set the name of a card, for example, to "MyCardName" But when you retrieve the name of the object in line of code you

Re: download and save a file

2011-05-27 Thread stephen barncard
nice frost on your caption balloon. On 27 May 2011 07:26, Richmond Mathewson wrote: > On 05/27/2011 05:15 PM, stephen barncard wrote: > >> Cyberduck 4 is now cross-platform/ >> >> http://cyberduck.ch/ >> >> No, it isn't. It is only available for Mac and Windows. > > > __

Re: Question about Object Names

2011-05-27 Thread Todd Geist
thank you! On Fri, May 27, 2011 at 7:25 AM, Nonsanity wrote: > Try:get the short name of this card > > ~ Chris Innanen > ~ Nonsanity > > > On Fri, May 27, 2011 at 10:17 AM, Todd Geist >wrote: > > > Hello, > > > > I am confused by an inconsistency I am seeing. I think it points to > > some

Re: Question about Object Names

2011-05-27 Thread stephen barncard
use the short name of the object. name button "Button" short name "Button" long namebutton "Button" of card id 1002 of stack "Untitled 1" On 27 May 2011 07:17, Todd Geist wrote: > Hello, > > I am confused by an inconsistency I am seeing. I think it points to > somet

Re: Question about Object Names

2011-05-27 Thread Nonsanity
Try:get the short name of this card ~ Chris Innanen ~ Nonsanity On Fri, May 27, 2011 at 10:17 AM, Todd Geist wrote: > Hello, > > I am confused by an inconsistency I am seeing. I think it points to > something I missing about object names and references. > > Using the Object Inspector you

Re: download and save a file

2011-05-27 Thread Richmond Mathewson
On 05/27/2011 05:15 PM, stephen barncard wrote: Cyberduck 4 is now cross-platform/ http://cyberduck.ch/ No, it isn't. It is only available for Mac and Windows. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to sub

Question about Object Names

2011-05-27 Thread Todd Geist
Hello, I am confused by an inconsistency I am seeing. I think it points to something I missing about object names and references. Using the Object Inspector you can set the name of a card, for example, to "MyCardName" But when you retrieve the name of the object in line of code you get back the

Re: download and save a file

2011-05-27 Thread stephen barncard
Cyberduck 4 is now cross-platform/ http://cyberduck.ch/ On 27 May 2011 02:19, Francis Nugent Dixon wrote: > Hi from Beautiful Brittany, > > Nicolas, You didn't say whether you insisted on > using LiveCode for the download. > > I have been bashing my head against the wall, trying > to get the w

Re: download and save a file

2011-05-27 Thread Francis Nugent Dixon
Hi from Beautiful Brittany, Nicolas, You didn't say whether you insisted on using LiveCode for the download. I have been bashing my head against the wall, trying to get the wrinkles out of a liveCode stack to do this. In fact, when we have Cyberduck (Mac Only) and FileZilla (Mac and PC), both p