matching strings with accented characters
matching strings with accented characters
- Subject: matching strings with accented characters
- From: Gary Bielby <email@hidden>
- Date: Tue, 05 Apr 2005 17:00:25 +0100
hi, l've got a problem trying to match two strings when they have
accented characters in them ;-(
what l'm doing is reading in a text file with the following sub code:
on readInFile(localcntrlFile)
open for access localcntrlFile
set prefsContents to read localcntrlFile as string using
delimiter {return}
close access localcntrlFile
return prefsContents
end readInFile
Each line is returned to a list which is then passed onto a repeat loop
to try and match the strings from the text file on a quarkxpress page,
and if l find a match then replace it with another string.
This works great until l found out that the text file isn't reading
accented characters. Is there any way of reading in accented characters
in the text file?
Regards, Gary.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden