Re: Unicode and revBrowser: selected property and callback messages

2011-05-29 Thread J. Landman Gay
On 5/29/11 7:37 AM, Slava Paperno wrote: Thanks for thinking about this, Jacqueline. The problem persists. From all you've tried so far, it does look like the selected text isn't compatible with unicode. Please let us know if you can use Mike's workaround, I think a lot of people will want

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

2011-05-28 Thread Richmond Mathewson
On 05/28/2011 08:16 AM, J. Landman Gay wrote: 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

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

2011-05-28 Thread Web Admin Himalayan Academy
. So just replace cr with unix line endings and it works: on mouseUp set the textfont of fld 1 to InaiMathi,Unicode answer file Choose the Unicode for this song with OK if the result cancel then get url (binfile: it) replace numtochar(13) with numtochar(10) in it set

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

2011-05-28 Thread Slava Paperno
Externals and Plugins forum, as well as on this list, and no one responded. I also got no responses to my question about sending messages from the Web page in revBrowser back to the stack (same forum)... I guess not many experts use LC with Unicode... and the famous Tim Bobo is probably on vacation

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

2011-05-28 Thread J. Landman Gay
to my question about sending messages from the Web page in revBrowser back to the stack (same forum)... I guess not many experts use LC with Unicode... and the famous Tim Bobo is probably on vacation... I haven't worked with unicode much at all, and I think you're right that not many of us have

Unicode and revBrowser: selected property and callback messages

2011-05-28 Thread Slava Paperno
Hi again, Jacqueline! Thanks for keeping up this dialog. You said: By convention, a UTF-8 file doesn't use a BOM. When I save my Unicode files as UTF-8 text (from the Windows Notepad or Dreamweaver, for example), the files do have a BOM. I found that when I read them into LC variables, I have

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

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

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

2011-05-27 Thread stephen barncard
/Tamil/Natchintanai in Unicode/3 Thannai Thannaal.txt தன்னைத்தன்னால்தன்னைத் தன்னால் அறிந்திட வேண்டுமேதானா யெங்குஞ் செறிந்திட வேண்டுமே[snip] Stephen Barncard San Francisco Ca. USA more about sqb http://www.google.com/profiles/sbarncar ___ use-livecode

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

2011-05-27 Thread Bob Sneidar
. . . # 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] Stephen Barncard San Francisco Ca. USA

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, but all

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 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-26 Thread Richmond Mathewson
Sorry; overlooked this thread until now. - on mouseUp answer file Choose an RTF file to import if the result = cancel then exit mouseUp else set the useUnicode to true set the RTFText of fld fRESULT to URL (file:

Importing Unicode text to a field .. How?

2011-05-24 Thread Sivakatirswami
I converted some Mylai-Sri (Tamil) Type 1 fonts to unicode. I can open these in Pages, select the text, choose the native Mac OS X Tamil unicode font: Inaimathi New and I get Tamil glyphs... if I copy and paste to a field in Livecode it appears as expected. But, now, I want to import

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

2011-05-24 Thread Slava Paperno
Use binfile instead of file. Slava -Original Message- From: use-livecode-boun...@lists.runrev.com [mailto:use-livecode- boun...@lists.runrev.com] On Behalf Of Sivakatirswami Sent: Tuesday, May 24, 2011 11:59 PM To: How to use LiveCode Subject: Importing Unicode text to a field

Re: uniencode(utf8Text, unicode) vs uniencode(utf8Text) vs uniencode(utf8Text, UTF16)

2011-03-30 Thread Kee Nethery
The uniencode taking something and encoding it into unicode (rather than taking unicode and encoding it into something) explains why uniencode(utf8Text,unicode) does not work. The second parameter is supposed to be what you have that you want converted into UTF16. Kee On Mar 29, 2011, at 5

Re: uniencode(utf8Text, unicode) vs uniencode(utf8Text) vs uniencode(utf8Text, UTF16)

2011-03-30 Thread Bob Sneidar
it into unicode (rather than taking unicode and encoding it into something) explains why uniencode(utf8Text,unicode) does not work. The second parameter is supposed to be what you have that you want converted into UTF16. Kee On Mar 29, 2011, at 5:52 PM, Kee Nethery wrote: Why do uniencode

uniencode(utf8Text, unicode) vs uniencode(utf8Text) vs uniencode(utf8Text, UTF16)

2011-03-29 Thread Kee Nethery
Why do uniencode(utf8Text) and uniencode(utf8Text,UTF16) convert UTF8 text into something whereas uniencode(utf8Text,unicode) produces no output? Am I doing something wrong or is this a known bug? Kee Nethery ___ use-livecode mailing list use-livecode

Unicode and Mac keyboard layouts.

2011-03-21 Thread Richmond
Hey-Ho; there I am, merrily typing a letter to Mother in Sanskrit in my (endless system development lifecycle) Devawriter and the Mac merrily trips over into a Devanagari keyboard entry method that starts interfering with the method in my stack . . . . . . big, BIG, bummer! 1. Has anybody (err

Re: Unicode and Mac keyboard layouts.

2011-03-21 Thread Peter W A Wood
Richmond Hey-Ho; there I am, merrily typing a letter to Mother in Sanskrit in my (endless system development lifecycle) Devawriter and the Mac merrily trips over into a Devanagari keyboard entry method that starts interfering with the method in my stack . . . Another thought is that you may

Re: Unicode and Mac keyboard layouts.

2011-03-21 Thread Richmond
On 03/21/2011 02:28 PM, Peter W A Wood wrote: Richmond On 21 Mar 2011, at 18:35, Richmond wrote: Hey-Ho; there I am, merrily typing a letter to Mother in Sanskrit in my (endless system development lifecycle) Devawriter and the Mac merrily trips over into a Devanagari keyboard entry method

Re: Unicode and Mac keyboard layouts.

2011-03-21 Thread Devin Asay
On Mar 21, 2011, at 11:19 AM, Richmond wrote: On 03/21/2011 02:28 PM, Peter W A Wood wrote: Richmond On 21 Mar 2011, at 18:35, Richmond wrote: Hey-Ho; there I am, merrily typing a letter to Mother in Sanskrit in my (endless system development lifecycle) Devawriter and the Mac merrily

COPYing Unicode text

2011-02-13 Thread Richmond
I have managed (on a PPC Mac !!!) to copy Unicode text out of a field onto the computer's clipboard in such a way that the text and all its font and unicode characteristics are preserved on pasting into Abiword using a very simple script: on mouseUp select the text of fld ABC copy

Re: COPYing Unicode text

2011-02-13 Thread Mark Schonewille
wrote: I have managed (on a PPC Mac !!!) to copy Unicode text out of a field onto the computer's clipboard in such a way that the text and all its font and unicode characteristics are preserved on pasting into Abiword using a very simple script: on mouseUp select the text of fld ABC copy

Re: COPYing Unicode text

2011-02-13 Thread Richmond
. There is only one possible answer: try and test. I must be a bit 'thick', but I don't entirely understand what you mean. On Mac PPC a long string of repeating Unicode glyphs copy-pastes successfully into both Abiword and Open Office. -- Best regards, Mark Schonewille

Re: COPYing Unicode text

2011-02-13 Thread stephen barncard
into 4321. In a longer stream, you'd get 123412341234 -- 432143214321. There is only one possible answer: try and test. I must be a bit 'thick', but I don't entirely understand what you mean. On Mac PPC a long string of repeating Unicode glyphs copy-pastes successfully into both Abiword and Open

Re: COPYing Unicode text

2011-02-13 Thread Richmond
On 2/13/11 7:08 PM, stephen barncard wrote: This has to do with byte values at the hardware level. Welcome to the world of BIG and LITTLE endianhttp://en.wikipedia.org/wiki/Endianness values. Most of the time this stuff is handled by the OS. The Mac's transition from Power-PC to Intel was quite

Re: Unicode and N with a tilde

2010-12-31 Thread Richmond
context require unicode for some other reason? http://andregarzia.on-rev.com/richmond/dwriterpro.html Warren ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription

Re: Unicode file names

2010-12-05 Thread Richard Gaskin
Richmond wrote: On 12/05/2010 12:24 AM, Richard Gaskin wrote: Seems LC chokes on file paths containing Unicode. Is there a workaround for this? Could you lob us an example? From the comments from the others in this thread, it would seem self-evident to anyone with a filename containing

Re: Unicode file names

2010-12-04 Thread Mark Schonewille
Hi Richard, There is no workaround. This simply doesn't work. Let's hope that the unicode overhaul in 4.5 changes this. However, you can use AppleScript or VBScript and create a complete parallel file handling system. E.g. use AppleScript to read data from a file and then pass on the data

<    4   5   6   7   8   9