>I am facing a challenge with some very large QuarkXpress documents that need
>to be repurposed for either "simple" text distribution, Web distribution or
>MC eBook distribution, where we want to remove all non-cross platform
>"Diacriticalized" characters
>
>e.g.
> "jñâna" should be come "jnana" and Íiva becomes Siva
Go for it. Try using the 'replace' command and 2 paired variables...
put "Í,ñ,â" into oldChars
put "S,n,a" into new chars
repeat with i=1 to 3
replace char (item i of oldChars) with char (item i of newChars) in tText
end repeat
The only drawback will be the available RAM you have available to store
such a large text file in memory during the operation. Maybe you will have
to break the original file down into more mamagable sized portions, or do a
read/replace/write in chunks.
/H
Hugh Senior
The Flexible Learning Company
Consultant Programming & Software Solutions
Fax/Voice: +44 (0)1483.27 87 27
Email: [EMAIL PROTECTED]
Web: www.flexibleLearning.com
Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.