• 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: AppleScript-Users Digest, Vol 4, Issue 352
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AppleScript-Users Digest, Vol 4, Issue 352


  • Subject: Re: AppleScript-Users Digest, Vol 4, Issue 352
  • From: "Mr. Dan Pouliot" <email@hidden>
  • Date: Sat, 28 Jul 2007 21:31:22 -0400


set s to read file "blah" as Unicode text

2/ write the variable into UTF-8:

write s to file "blah" as «class utf8»

or MacRoman:

write s to file "blah" as string



that is precisely what I did, following the instructions here: http://www.satimage.fr/software/en/unicode_and_applescript.html

and yet the file that it generated was still (maddeningly) UTF-16.

That said, I think I found the solution (though not in AppleScript). The app that is generating the UTF-16 file is Filemaker, and I just figured out how to tell Filemaker what encoding to save as. So I'm all set!


_______________________________________________ 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: AppleScript-Users Digest, Vol 4, Issue 352
      • From: Philip Aker <email@hidden>
  • Prev by Date: Re: AppleScript and shell scripting - a starting point
  • Next by Date: Re: AppleScript-Users Digest, Vol 4, Issue 352
  • Previous by thread: Re: AppleScript-Users Digest, Vol 4, Issue 352
  • Next by thread: Re: AppleScript-Users Digest, Vol 4, Issue 352
  • Index(es):
    • Date
    • Thread