Re: What is Best Practice for Reading Files of Unknown Encoding?
Re: What is Best Practice for Reading Files of Unknown Encoding?
- Subject: Re: What is Best Practice for Reading Files of Unknown Encoding?
- From: Jonathan Levi <email@hidden>
- Date: Tue, 21 Jun 2016 13:05:47 -0400
If you opened it first in a hex editor, wouldn't that show you the encoding?--Jonathan
-----Original Message-----
From: Jim Underwood <email@hidden>
To: pscott <email@hidden>; Deivy Petrescu <email@hidden>; Mitchell L Model <email@hidden>
Cc: applescript-users <email@hidden>
Sent: Tue, Jun 21, 2016 12:18 am
Subject: What is Best Practice for Reading Files of Unknown Encoding?
Paul,
Thanks for your very comprehensive statement.
So, what is the best practice when reading a file in AppleScript that you did not write, and you do not have any authoritative information about its encoding?
Best Regards,
Jim Underwood
aka
JMichaelTX
- When you READ from a file, the reader must be use the SAME Unicode ENCODING, or you'll get strange results. Sometimes the reader can guess what the encoding is, sometimes not.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (applescript-
email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives:
http://lists.apple.com/archives/applescript-users
This email sent to
email@hidden
_______________________________________________
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