Re: Encoding
Re: Encoding
- Subject: Re: Encoding
- From: Emmanuel LEVY <email@hidden>
- Date: Sat, 30 Aug 2014 23:37:15 +0200
On Aug 30, 2014, at 11:25 PM, koenig.yvan wrote:
> Hello
>
> I am supposed to read the text contents of a file.
> Most characters are ASCII ones
> One of them is stored as $E3. It's ã (aTilde)
>
> I tried : read file theFile and got :
> ceic„o
>
>
> In an other occurrence of the same string the aTilde is stored as $C3 $E3 which is the utf8 ID
> I tried : read file theFile and got :
> ceic√£o
>
> Which way may I get the correct string :
> ceicão
>
> I tried with
> read file theFile as «class Utf8»
Try:
... as «class utf8»
Emmanuel
_______________________________________________
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
References: | |
| >Encoding (From: "koenig.yvan" <email@hidden>) |