Search found 17 matches

by jcollett
Wed Sep 08, 2010 12:59 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Unicode Field routines
Replies: 23
Views: 12897

Re: Unicode Field routines

Hello Mark. Meantime I have been back to UnicodeFldRoutines.rev, the one in Japanese with the problem character in red. I think the writer may have not quite finished, because the line of commentary which says "I think you set line 4 into the field" (where line 5 was expected) was wrong; line 5 had ...
by jcollett
Tue Sep 07, 2010 11:29 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Unicode Field routines
Replies: 23
Views: 12897

Re: Unicode Field routines

Mark, I have tried my best with your suggestion, but Field 2 remains empty. JohnC
by jcollett
Tue Sep 07, 2010 8:44 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Unicode Field routines
Replies: 23
Views: 12897

Re: Unicode Field routines

Thank you Mark. But the character 上 is NOT a line feed. It means "above", or "last" (as in last week), and heaps of other things. It is the unicodeText conversion which wrongly declares it to be a line feed. Dare I suggest that "unicodeText()" has a bug? It means that if I write "We started this con...
by jcollett
Tue Sep 07, 2010 8:35 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Unicode Field routines
Replies: 23
Views: 12897

Re: Unicode Field routines

Thank you Mark. But the character 上 is NOT a line feed. It means "above", or "last" (as in last week), and heaps of other things. It is the unicodeText conversion which declares it to be a line feed. Dare I suggest that "unicodeText()" has a bug? It means that if I write "We started this conversatio...
by jcollett
Tue Sep 07, 2010 2:08 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Unicode Field routines
Replies: 23
Views: 12897

Re: Unicode Field routines

For several days I made pleasing progress. I was splitting Chinese dialogues, each one in a field, into separate lines of dialogue, one line per field. New fields were created as needed. Using callbacks from a player, I could then get each line of text to be shown as it was spoken by the player. Spl...
by jcollett
Sat Sep 04, 2010 10:42 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Unicode Field routines
Replies: 23
Views: 12897

Re: Unicode Field routines

Thank you Mark and Bernd. Unfortunately many of the sources I have been using to understand and learn how to manipulate text containing unicode appear maddeningly incomplete (their authors assume I know more than I do) or "make no sense" as in the case of the specific character we were discussing. I...
by jcollett
Sat Sep 04, 2010 9:06 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Unicode Field routines
Replies: 23
Views: 12897

Re: Unicode Field routines

Hi Mark, I'm having a bad morning. I don't know how to send attachments, and cannot find out. The 17 references to "attach" in the FAQ do not tell me. I went though the process of selecting the files to upload, and assumed that they would then be uploaded when I submitted the message. I must have om...
by jcollett
Sat Sep 04, 2010 8:36 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Unicode Field routines
Replies: 23
Views: 12897

Re: Unicode Field routines

Hi Mark. This is the first time I have ever attached anything to a reply. I don't know if I have done it correctly. My stored texts are usually in UTF 8 format. I have made a second copy of the one-line sample in UTF 16 format, and am hoping to upload both.
Thanks for your interest
JC
by jcollett
Sat Sep 04, 2010 1:07 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Unicode Field routines
Replies: 23
Views: 12897

Re: Unicode Field routines

Further study of (http://revolution.byu.edu/unicode/unicodeFldRoutines.rev) reveals the use of "countUnicodeLines(tdata)" and "UnicodeLineOffset(tdata,5)". These, and any others relating to Unicode, could be useful to me. But I cannot find them defined anywhere in the stack in question, nor can I fi...
by jcollett
Fri Sep 03, 2010 12:56 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Unicode Field routines
Replies: 23
Views: 12897

Re: Unicode Field routines

Mark, I'm still trying to make up my mind. This character, for example, 上, referred to in the source I quoted as 000A, is always omitted when I use code to move Chinese from one field, where I have pasted it, to another. It has taken me several hours to obtain Chinese-containing text from an externa...
by jcollett
Thu Sep 02, 2010 9:46 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Tutorial Books
Replies: 23
Views: 18096

Re: Tutorial Books

Dan Shafer's book ("Speed of thought",etc.) just received. I expect I will get plenty of help from it, but ... no index! That is unforgivable! And I suppose I will get used to being addressed like a 12-year-old.
JC
by jcollett
Thu Sep 02, 2010 9:36 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Unicode Field routines
Replies: 23
Views: 12897

Unicode Field routines

Difficulties in the use of unicode in Revolution are persuading me NOT to move my extensive Chinese study materials from HTML+Javascript into Revolution. That is disappointing. Just when I think I am beginning to make progress, another problem arises. For example : A stack which I have been studying...
by jcollett
Tue Aug 24, 2010 8:16 pm
Forum: Databases
Topic: Unicode and mySQL
Replies: 14
Views: 15798

Re: Unicode and mySQL

Hi, Bellthorpe. You were going to "report back" re Unicode and mySQL. I'd be interested in your results. Thanks. JC
by jcollett
Mon Aug 23, 2010 9:36 pm
Forum: Databases
Topic: SQLite with table datagrid for beginners ?
Replies: 5
Views: 6412

Re: SQLite with table datagrid for beginners ?

I am attempting the move from Supercard to Revolution for one reason only. I am learning Chinese, and Revolution allows me to use Chinese characters. I have managed to get my head around some of the special coding needed to do that for working in fields. I am now wondering if it will be possible to ...
by jcollett
Sat Aug 14, 2010 2:42 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Dictionary
Replies: 4
Views: 3364

Re: Dictionary

Thank you, Bernd. You have understood and answered my question. So "Revolution Dictionary" and "Revolution Language Dictionary" are the same document, even though when it is open its text tells me to open it! That's odd. And entering a search word carrries out a "filter"? I suppose that makes sense,...