Re: Coercing ligatures to expanded characters
Re: Coercing ligatures to expanded characters
- Subject: Re: Coercing ligatures to expanded characters
- From: debt <email@hidden>
- Date: Thu, 12 Jan 2017 12:13:30 -0800
On Jan 12, 2017, at 10:49 AM, Jacob Small < email@hidden> wrote:
do shell script "echo '" & (characters of inputString) & "' >" & quoted form of (filepath & "grepTarget.txt")
this is hanging up on a ligature in the domain name of an email address.
Jacob,
I’m not sure if this would solve your problem, but perhaps using Unicode characters instead of ASCII will give you the proper result. As long as you’re calling out to the shell, you could use a regex in Perl. I’m sorry I’m not experienced enough to give an example, but maybe a page like this will be helpful:
Just an idea, Marc |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden