Find & Replace

Richmond richmondmathewson at gmail.com
Sat Jul 23 15:31:16 EDT 2016



On 23.07.2016 21:40, J. Landman Gay wrote:
> What I'm getting at is that generally you shouldn't need to do any 
> unicode conversions at all anymore. So it would help to know how you 
> are using the command and in what context. There isn't a need to 
> specify unicode text, you can just treat everything the way we use 
> plain ASCII.
>
> So, what does the script do? Does the field already contain text? Is 
> it generating new text? The script editor supports unicode so you can 
> just type the actual characters into the script if that's what you 
> need to do.
>
> If this is for Devawriter,  you should be able to name the keyboard 
> keys with their unicode character and then insert text with a single 
> line of code:
>
> put the short name of me into the selection
>

Ha, Ha, Ha: Sanskrit when written in Devanagari employs thousands of 
glyphs called "conjunct
consonants" which are composed of constituent consonants in a 
consonantal cluster: so my
Devawriter does "all the clever knitting".

http://www.omniglot.com/writing/devanagari.htm

If Devanagari were as simple as "put the short name of me into the 
selection" the whole thing would have been completed in a month instead 
of 4 years of my spare time.

I have similar programs fro Glagolitic, Old Church Slavonic and Gothic 
that took me about 2 days each.

Richmond.

> Jacqueline Landman Gay         | jacque at hyperactivesw.com
> HyperActive Software           |     http://www.hyperactivesw.com
>
>
>
> On July 23, 2016 12:33:21 PM Richmond <richmondmathewson at gmail.com> 
> wrote:
>
>> The problem is that the stack using "set the unicodeText of fld "fPROC"
>> to numToCodePoint(57669)"
>>
>> doesn't work.
>>
>> Tests with "put numToCodePoint(57669) into fld "fPROC"" do work.
>>
>> That's enough of a "case" for me.
>>
>> Richmond.
>>
>>
>> On 23.07.2016 20:24, J. Landman Gay wrote:
>>> I wonder if you really need to do that any more. What's the use case?
>>>
>>>
>>> Jacqueline Landman Gay         |     jacque at hyperactivesw.com
>>> HyperActive Software           | http://www.hyperactivesw.com
>>>
>>>
>>>
>>> On July 23, 2016 11:13:58 AM Richmond <richmondmathewson at gmail.com>
>>> wrote:
>>>
>>>> Here's a puzzle:
>>>>
>>>> I need to replace thousands of lines like this:
>>>>
>>>> set the unicodeText of fld "fPROC" to numToCodePoint(57669)
>>>>
>>>> with this:
>>>>
>>>> put numToCodePoint(57669) into fld "fPROC"
>>>>
>>>> the problem is that the number of the codePoint is different in each
>>>> case.
>>>>
>>>> Wildcards?
>>>>
>>>> Richmond.
>>>>
>>>> _______________________________________________
>>>> use-livecode mailing list
>>>> use-livecode at lists.runrev.com
>>>> Please visit this url to subscribe, unsubscribe and manage your
>>>> subscription preferences:
>>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>>
>>>
>>>
>>> _______________________________________________
>>> use-livecode mailing list
>>> use-livecode at lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
>>
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your 
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list