Re: curlyquotes, character sets, livecode, and english

2013-05-28 Thread Dr. Hawkins
On Tue, May 28, 2013 at 7:14 AM, Peter M. Brigham wrote: > If the problem is really focused on the pasting, why not change the text to a >workable form in a pastekey handler? I hadn't even though of that possibility :) But that's not the only way it can come in--there's import of a text file, ty

Re: curlyquotes, character sets, livecode, and english

2013-05-28 Thread Peter M. Brigham
On May 27, 2013, at 3:45 PM, Dr. Hawkins wrote: > A particular one that *will* come up is mac using attorneys with > windows running in a virtual machine doing cross-os pastes. If the problem is really focused on the pasting, why not change the text to a workable form in a pastekey handler? --

Re: curlyquotes, character sets, livecode, and english

2013-05-27 Thread Michael Mays
Unicode is a character set. UTF-8 is an encoding. Is Unicode an encoding in LiveCard? Michael On May 27, 2013, at 6:17 AM, Dar Scott wrote: > I'm guessing that openoffice can do full UTF8, or at least the BMP (the main > group of characters). > > Maybe the easiest thing is to allow full U

Re: curlyquotes, character sets, livecode, and english

2013-05-27 Thread Robert Brenstein
On 27.05.2013 at 14:45 Uhr -0700 Dr. Hawkins apparently wrote: The error was that on a curly-quote that originated at http://www.leg.state.nv.us/NRS/NRS-021.html#NRS021Sec090 (in "miner's") threw the error. I also got it from double-curly quotes that came from somewhere. If I can limit livecod

Re: curlyquotes, character sets, livecode, and english

2013-05-27 Thread Dr. Hawkins
On Mon, May 27, 2013 at 11:06 AM, Peter Haworth wrote: > I think you said that this all works fine in SQLite. If so, that suggests > this is not a Livecode issue. Searching round the web, it's clear that > PostgreSQL does support UTF-8 and many other encodings. What is the error > you get from

Re: curlyquotes, character sets, livecode, and english

2013-05-27 Thread Peter Haworth
I think you said that this all works fine in SQLite. If so, that suggests this is not a Livecode issue. Searching round the web, it's clear that PostgreSQL does support UTF-8 and many other encodings. What is the error you get from postgesql? Pete lcSQL Software On Mon,

Re: curlyquotes, character sets, livecode, and english

2013-05-27 Thread Dr. Hawkins
On Mon, May 27, 2013 at 9:47 AM, Dar Scott wrote: > > On May 27, 2013, at 8:24 AM, Dr. Hawkins wrote: > > That brings back the two word character problem, and then some . . . > > It reminds me of packing file names in CPM. 7 Characters to the 36 bit word on a PDP-10. > Back to you problem. Is

Re: curlyquotes, character sets, livecode, and english

2013-05-27 Thread Dar Scott
On May 27, 2013, at 8:24 AM, Dr. Hawkins wrote: > That brings back the two word character problem, and then some . . . It reminds me of packing file names in CPM. Back to you problem. Is that solved? I would be inclined to use the unicodeText property put take text out of a field and to set

Re: curlyquotes, character sets, livecode, and english

2013-05-27 Thread Dr. Hawkins
On Sun, May 26, 2013 at 10:56 PM, stephen barncard < stephenrevoluti...@barncard.com> wrote: > Let's go FIVE bit. How about Baudot? > That brings back the two word character problem, and then some . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462

Re: curlyquotes, character sets, livecode, and english

2013-05-26 Thread stephen barncard
Let's go FIVE bit. How about Baudot? On Sun, May 26, 2013 at 7:42 PM, Jerry Jensen wrote: > Nobody say EBCDIC or I will be sad. > > On May 26, 2013, at 7:23 PM, Dar Scott wrote: > > > Ha! I did start out with 6 bit characters on the CDC 3300, but my sense > of identity is with ASCII which I

Re: curlyquotes, character sets, livecode, and english

2013-05-26 Thread Jerry Jensen
Nobody say EBCDIC or I will be sad. On May 26, 2013, at 7:23 PM, Dar Scott wrote: > Ha! I did start out with 6 bit characters on the CDC 3300, but my sense of > identity is with ASCII which I used in my tiny contribution to the computer > revolution of the 70s. > > I coped by leaping over

Re: curlyquotes, character sets, livecode, and english

2013-05-26 Thread Dar Scott
Ha! I did start out with 6 bit characters on the CDC 3300, but my sense of identity is with ASCII which I used in my tiny contribution to the computer revolution of the 70s. I coped by leaping over other character considerations right to Unicode. Dar (Grandpa ASCII) On May 26, 2013, at 7:

Re: curlyquotes, character sets, livecode, and english

2013-05-26 Thread Dr. Hawkins
On Sun, May 26, 2013 at 3:17 PM, Dar Scott wrote: > Embrace Unicode. > I'm still leary about 8 bit rather than 7 bit Heck, I've barely given up on 6 bit. And color displays, well . . . :) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 ___ u

Re: curlyquotes, character sets, livecode, and english

2013-05-26 Thread Dar Scott
I'm guessing that openoffice can do full UTF8, or at least the BMP (the main group of characters). Maybe the easiest thing is to allow full Unicode in your fields. Then convert that to UTF8 and back for the db. I think folks can help with that. Embrace Unicode. An alternative is to tell

Re: curlyquotes, character sets, livecode, and english

2013-05-26 Thread Dar Scott
I think I may have misunderstood the problem. If your db wants UTF8 and you have Mac, then maybe you can convert Mac to UTF8. If you say a Mac string is UTF8 (when it is not) and something checks, then it will interpret numToChar(213) as the first byte of a two-byte sequence. If the next by

Re: curlyquotes, character sets, livecode, and english

2013-05-26 Thread Dr. Hawkins
On Sun, May 26, 2013 at 3:01 PM, Dr. Hawkins wrote: > Hmm, to narrow this: I just need something that livecode & postgres can > agree upon. With the proviso that people are likely to be pasting into my > livecode fields > Hmm, and it also needs to be something that openoffice can interpret whe

Re: curlyquotes, character sets, livecode, and english

2013-05-26 Thread Dr. Hawkins
On Sun, May 26, 2013 at 2:41 PM, Dr. Hawkins wrote: > > I don't *think* that two byte codes should be coming out of a normal mac > set to english . . . > Hmm, to narrow this: I just need something that livecode & postgres can agree upon. With the proviso that people are likely to be pasting in

Re: curlyquotes, character sets, livecode, and english

2013-05-26 Thread Dr. Hawkins
On Sun, May 26, 2013 at 10:54 AM, Dar Scott wrote: > UTF8 is one of the "languages" of uniEncode and uniDecode functions. > Maybe you can convert to and from UTF8 as you need. Or pull unicode out > of the field and convert that. > > Character 213 is the first of a two byte sequence in UTF8, so

Re: curlyquotes, character sets, livecode, and english

2013-05-26 Thread Dr. Hawkins
On Sun, May 26, 2013 at 11:13 AM, Richmond wrote: > On 05/26/2013 08:30 PM, Dr. Hawkins wrote: > >> > There is no possibility of my application ever being used in an application >> other than English. >> > > Really? > Really. Unless Congress mandates that Bankruptcies be field in foreign langua

Re: curlyquotes, character sets, livecode, and english

2013-05-26 Thread Peter Haworth
I'm not very familiar with postgresql but I'm having a hard time believing that it can't handle UTF-8 encoding. Typically, the character encoding is specified when you create a database or when you create a table within a database, and there are usually admin commands that reveal what encoding is

Re: curlyquotes, character sets, livecode, and english

2013-05-26 Thread Richmond
On 05/26/2013 10:12 PM, Dar Scott wrote: On May 26, 2013, at 12:26 PM, J. Landman Gay wrote: On the other hand, he's a US lawyer writing an app for other US lawyers that concerns US law. These come to mind: Paragraph sign: U+00B6 ¶ Section sign: U+00A7 § And then there are "IP" symbols, cu

Re: curlyquotes, character sets, livecode, and english

2013-05-26 Thread Dar Scott
On May 26, 2013, at 12:26 PM, J. Landman Gay wrote: > On the other hand, he's a US lawyer writing an app for other US lawyers that > concerns US law. These come to mind: Paragraph sign: U+00B6 ¶ Section sign: U+00A7 § And then there are "IP" symbols, currency symbols, Latin ligatures, ... (

Re: curlyquotes, character sets, livecode, and english

2013-05-26 Thread Richmond
On 05/26/2013 09:26 PM, J. Landman Gay wrote: On 5/26/13 1:13 PM, Richmond wrote: On 05/26/2013 08:30 PM, Dr. Hawkins wrote: There is no possibility of my application ever being used in an application other than English. Really? For that matter, there is no possibility of it being used in

Re: curlyquotes, character sets, livecode, and english

2013-05-26 Thread J. Landman Gay
On 5/26/13 1:13 PM, Richmond wrote: On 05/26/2013 08:30 PM, Dr. Hawkins wrote: There is no possibility of my application ever being used in an application other than English. Really? For that matter, there is no possibility of it being used in a non-US country. Missouri German. Texas Ger

Re: curlyquotes, character sets, livecode, and english

2013-05-26 Thread Richmond
On 05/26/2013 08:30 PM, Dr. Hawkins wrote: I can't believe that this one flummoxed me as long as it did. SQLite, like the honeybadger, just don't care . . . I got hung up on a curlyquote. I'll definitely have people pasting in from whatever sources, possibly the wrong one for the platform (eve

Re: curlyquotes, character sets, livecode, and english

2013-05-26 Thread Dar Scott
UTF8 is one of the "languages" of uniEncode and uniDecode functions. Maybe you can convert to and from UTF8 as you need. Or pull unicode out of the field and convert that. Character 213 is the first of a two byte sequence in UTF8, so a bubble-gum and tinfoil solution for that lone character w

curlyquotes, character sets, livecode, and english

2013-05-26 Thread Dr. Hawkins
I can't believe that this one flummoxed me as long as it did. SQLite, like the honeybadger, just don't care . . . I got hung up on a curlyquote. I'll definitely have people pasting in from whatever sources, possibly the wrong one for the platform (ever read from mac or unix a web page written by