Unicode again

Mark Schonewille m.schonewille at economy-x-talk.com
Tue Sep 19 08:29:59 EDT 2006


Viktoras,

To enter unicode characters in a field directly, you have to change  
the keyboard settings of your operating system.

I didn't say you can set the itemDel to uniencode(tab). I said you  
have to uniencode the itemDel, like:

put uniencode(the itemDel) into myItemDel

and then find the encoded string in your field, e.g. using the offset  
function. Read the information about offset in the docs. You might  
need to use a repeat loop to find the right item. Sorry, I don't hav  
time to write an example script now.

I don't know about a good introduction to unicode in Rev.

Mark

--

Economy-x-Talk
Consultancy and Software Engineering
http://economy-x-talk.com
http://www.salery.biz

Get your store on-line within minutes with Salery Web Store software.  
Download at http://www.salery.biz

Op 19-sep-2006, om 13:16 heeft Viktoras Didziulis het volgende  
geschreven:

> Thanks! Well, I am still strugling with unicode. It does not like set
> itemdelimiter to uninencode(tab), [error: source is not a number]...
>
> How do I set text field so that it would allow to type in unicode  
> characters
> using keyboard ? I did:
>
> set the textfont of field "fLongref" to ",unicode"
>
> Then I type in one of Eastern European languages but it writes wrong
> characters...
>
> By the way, is there any good introduction to Unicode in Revolution
> available anywhere ?
>
> Viktoras
>
> -------Original Message-------
>
> From: Mark Schonewille
> Date: 09/19/06 12:32:36
> To: How to use Revolution
> Subject: Re: Unicode again
>
> You need to uniencode the itemDelimiter and search for the encoded
> string in the table.
>
> Best,
>
> Mark
>
> -- 
>
> Economy-x-Talk
> Consultancy and Software Engineering
> http://economy-x-talk.com
> http://www.salery.biz
>
> Get your store on-line within minutes with Salery Web Store software.
> Download at http://www.salery.biz
>
> Op 19-sep-2006, om 11:24 heeft Viktoras Didziulis het volgende
> geschreven:
>
>>
>> Now have it all loaded almost correctly in the table. But the
>> second problem
>> is how to correctly pass unicode string from one field to another. I
>> selected text in a table and did:
>>
>> put item 2 of the selectedText into field "fLongref"
>>
>> and almost as expected some characters are defaced :-]
>>
>> then tried:
>> set the unicodeText of field "fLongref" to item 3 of the
>> unicodeText of the
>> selectedText
>>
>> and result is Chinese characters in the field "fLongref". The
>> original text
>> is in Russian, Lithuanian, English and German. How do we transfer the
>> unicode string of the selectedText to a text field correctly?
>>
>> Thanks in advance!
>> Viktoras
>




More information about the use-livecode mailing list