Unicode problem

Frank D. Engel, Jr. fde101 at fjrhome.net
Wed Apr 20 10:55:28 EDT 2005

Hash: SHA1

Did you try using the htmlText of that line rather than just the 
plaintext of the line?  In other words, something like this:

set the htmlText of line 7 of field "Target" to the htmlText of field 

On Apr 20, 2005, at 9:28 AM, Ton Kuypers wrote:

> I've created a search & replace application to be used from within 
> Adobe Indesign and it works perfectly:
> A list with search words, a second list with replace words, some 
> options and Indesign has got a supercharged S&R function with whole 
> lists of words replaced by one click on a button.
> To add words to the list, one can enter it in a "Search" textfield, 
> the second part in the "replace" textfield. An add button adds it to 
> the list.
> But...
> InDesign uses OpenType or double-byte fonts. These are unicode fonts.
> When copying a word from a page in InDesign the clipboard contains te 
> text with the special characters, but they are mixed (unicode and 
> regular).
> Problem:
> - Paste in the entry field shows the correct text, moving it up to the 
> list doesn't.
> Solution:
> - Loop through the characters in the entry field and set the unicode 
> text or the regular text of the correct line in the list.
> Question:
> - Is there a better way to do this?
> Problem 2:
> I know what number the last line of the list is, so I put this number 
> + 1 into a var. Each new line will be entered into line varName.
> - When the last line of the list is a unicode text, the next line is 
> entered on the same line, it seams that the linenumber in the var 
> doesn't have any effect anymore.
> I've tried to add a CR after that line, but no luck :-(
> Anyone any solutions or remarks?
> Regards,
> Ton Kuypers
> Digital Media Partners bvba
> Tel. +32 (0)477 / 739 530
> Fax +32 (0)14 / 71 03 04
> http://www.dmp-int.com
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
- -----------------------------------------------------------
Frank D. Engel, Jr.  <fde101 at fjrhome.net>

$ ln -s /usr/share/kjvbible /usr/manual
$ true | cat /usr/manual | grep "John 3:16"
John 3:16 For God so loved the world, that he gave his only begotten 
Son, that whosoever believeth in him should not perish, but have 
everlasting life.
Version: GnuPG v1.2.4 (Darwin)


$0 Web Hosting with up to 200MB web space, 1000 MB Transfer
10 Personalized POP and Web E-mail Accounts, and much more.
Signup at www.doteasy.com

More information about the Use-livecode mailing list