Re: Return or No Return
Re: Return or No Return
- Subject: Re: Return or No Return
- From: Luther Fuller <email@hidden>
- Date: Thu, 23 Mar 2006 17:48:53 -0600
When I use
read refNr as Unicode text
I get a dialog full of Chinese characters and the data returned by a
simple 'read' is class string, so I don't think Unicode text is
involved here.
Then I tried
set textLine to read refNr before (ascii character 10)
Now I can read Mail's text files OK, but Eudora's text files are messed-up.
It looks like there are two formats of plain-text file involved here:
return delimited plain-text; and
linefeed delimited plain-text.
The problem is now that I need to know what the file format is before
reading it.
I've looked at the file's 'type identifier', but it's of no use at all.
One solution might be to read the whole file into a variable, then
compare the offsets of return and linefeed.
But is this guaranteed to work - always?
_______________________________________________
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