• 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: Struggling with a script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Struggling with a script


  • Subject: Re: Struggling with a script
  • From: Emmanuel <email@hidden>
  • Date: Wed, 19 Apr 2006 16:40:43 +0200

At 10:19 AM -0400 4/19/06, Paul Thompson wrote:
What happens is that after I run the script, is that the printers.conf file ends up looking really strange, and I'm not sure what it is. I have included a screen shot at this link: http://homepage.mac.com/p_thompson/FileSharing5.html

My guess: your file was written as UTF-16 while it expected ASCII, because you wrote:


write thecontents to f

Write:

write thecontents to f as string

instead.

If you feel like you could use some help regarding Unicode, spend a few seconds in the following page of ours:
<http://www.satimage-software.com/en/unicode_and_applescript.html>


Emmanuel
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Struggling with a script
      • From: Paul Thompson <email@hidden>
References: 
 >Struggling with a script (From: Paul Thompson <email@hidden>)

  • Prev by Date: Struggling with a script
  • Next by Date: Re: MacBook Pro iSight Scripting
  • Previous by thread: Struggling with a script
  • Next by thread: Re: Struggling with a script
  • Index(es):
    • Date
    • Thread