• 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 character conversion from PHP
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Applescript character conversion from PHP


  • Subject: Re: Applescript character conversion from PHP
  • From: Axel Luttgens <email@hidden>
  • Date: Wed, 27 Nov 2002 13:25:19 +0100

Hans Schoenmaker wrote:

Hi guys,


I'm trying to write as script that copies a textfile from a PHP server.

Could you be a bit more precise?
How does your script copy from the server? Could you post the relevant portion of your script? As well as the source of a sample page displaying a "textfile" you want to copy?
Is the source page a static one, or a dynamically generated one? Put otherwise, does the "PHP" part really matter here?

The textfile itself is also a applescript which i run after downloading.
Everything works fine, but :


The are Characters that won't convert properly.
For example:

set contents of line 1 to "Mikael Ndsstrvm"


becomes :

set contents of line 1 to "Mikael Nsstrm"


after downloading.


Quite difficult to guess which characters where the original ones... ;-)


What's the problem here? Even my browser shows the characters correctly, but
when is save the URL it changes them and when opening in applescript or
simpletxt it's messed up.



This is typically a problem of unmatched character encodings. But some more info would be helpful.


Hans Schoenmaker
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Applescript character conversion from PHP (From: Hans Schoenmaker <email@hidden>)

  • Prev by Date: URL Access Scripting and ports?!?
  • Next by Date: Re: Shell script(?) overview for dummies
  • Previous by thread: Applescript character conversion from PHP
  • Next by thread: Re: Applescript character conversion from PHP
  • Index(es):
    • Date
    • Thread