Re: ® changes into ¬Æ
Re: ® changes into ¬Æ
- Subject: Re: ® changes into ¬Æ
- From: Emmanuel LEVY <email@hidden>
- Date: Thu, 27 May 2010 12:22:23 +0200
I second that, and I think that you need "as «class utf8»" rather than
"as Unicode text"
Emmanuel
On May 27, 2010, at 12:10 PM, Axel Luttgens wrote:
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 (applescript-
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