• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Encoding
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Encoding
      • From: "koenig.yvan" <email@hidden>
References: 
 >Encoding (From: "koenig.yvan" <email@hidden>)

  • Prev by Date: Encoding
  • Next by Date: Re: The Future of AppleScript
  • Previous by thread: Encoding
  • Next by thread: Re: Encoding
  • Index(es):
    • Date
    • Thread