Re: Strange character changes
- Subject: Re: Strange character changes
- From: kai <email@hidden>
- Date: Mon, 30 Oct 2006 21:39:47 +0000
- Delivered-to: email@hidden
- Delivered-to: email@hidden
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=btinternet.com; h=Received:In-Reply-To:References:Mime-Version:Content-Type:Message-Id:Reply-To:Content-Transfer-Encoding:From:Subject:Date:To:X-Mailer; b=bssYiSAX+glrz1KFuuBoAPssd+zPV/7ZwANWQ9NfLEOfG32sGzvjaFr+183OveKzfyB6EgyzV13SzE72F1IXHRjt0mVEDthy6BxC0g4fs1/FShSuDvaD1z1XHOSlsHdyq+LvFSseGxoIaZkDtInSU4zU4kNe6SvVRmuvMLPGzK8= ;
On 30 Oct 2006, at 20:58, W. Thomas Leroux wrote:
Any more ideas?
Thomas, try keeping the whole shooting match in Unicode text. Remove
the 'as string' coercions...
set current_song to (name of current track) as string
set current_artist to (artist of current track) as string
... replacing the statements with something like:
----------------
set {name:current_song, artist:current_artist} to current track
----------------
Then try to open the file using Unicode (UTF-16) encoding - or to
read it with:
----------------
read file file_location as Unicode text
----------------
---
kai
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-users/email@hidden
Archives: http://lists.apple.com/mailman//archives/applescript-users
This email sent to email@hidden
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.