• 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: "koenig.yvan" <email@hidden>
  • Date: Sun, 31 Aug 2014 11:06:09 +0200


Le 30/08/2014 à 23:37, Emmanuel LEVY <email@hidden> a écrit :


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



Bonjour Emmanuel

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


Yvan KOENIG (VALLAURIS, France) dimanche 31 août 2014 11:05:27


 _______________________________________________
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: Shane Stanley <email@hidden>
References: 
 >Encoding (From: "koenig.yvan" <email@hidden>)
 >Re: Encoding (From: Emmanuel LEVY <email@hidden>)

  • Prev by Date: Re: Encoding
  • Next by Date: Re: Encoding
  • Previous by thread: Re: Encoding
  • Next by thread: Re: Encoding
  • Index(es):
    • Date
    • Thread