Re: Encoding
Re: Encoding
- Subject: Re: Encoding
- From: Emmanuel LEVY <email@hidden>
- Date: Sun, 31 Aug 2014 12:13:25 +0200
I think that whatever the «class xxxx» which is not declared, the command will return hexa gobbledygook.
Try to read file theFile as «class Yvan».
Emmanuel
On Aug 31, 2014, at 12:07 PM, koenig.yvan wrote:
>
> Le 31/08/2014 à 11:50, Shane Stanley <email@hidden> a écrit :
>
>> On 31 Aug 2014, at 7:06 pm, koenig.yvan <email@hidden> wrote:
>>
>>> J’avais essayé «class utf8» ce qui avait généré le message :
>>>
>>> error "Il est impossible de rendre des données dans le type attendu." number -1700
>>
>> I suspect Emmanuel is referring to the fact that your email said Utf8, rather than utf8.
>>
>> --
>> Shane Stanley <email@hidden>
>
> I understood that but as I wrote,
> read file theFile as «class Utf8»
> The result is in fact the hexadecimal contents of the file.
>
> while
>
> read file theFile as «class utf8»
> issue an error message.
>
> So, altough I was surprised by that, I assumed that the correct spelling was «class Utf8»
> which like «class ut16» returns a flow of data even if it's not what I hoped to get.
>
>
> Yvan KOENIG (VALLAURIS, France) dimanche 31 août 2014 12:07:07
>
>
> _______________________________________________
> 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
_______________________________________________
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