Re: ® changes into ¬Æ
Re: ® changes into ¬Æ
- Subject: Re: ® changes into ¬Æ
- From: Axel Luttgens <email@hidden>
- Date: Thu, 27 May 2010 12:10:48 +0200
Le 27 mai 2010 à 11:57:57, Bert Groeneveld a écrit :
> Hello, a quick one (I hope):
>
> Opening an xml file with the Applescript open for access command changes a "®" character into "¬Æ". How can I fix that?
>
> Already tried this, but unfortunately . . .
>
> set openedFile to open for access my_XML_file as Unicode text
> set openedFile to open for access my_XML_file as «class utf8»
> -- set myContent to read openedFile, etc.
Hello Bert,
I guess the "as ..." argument should come with the read statement, not with the open statement; e.g.:
set myContent to read openedFile as Unicode text
HTH,
Axel _______________________________________________
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