Re: Applescript character conversion from PHP
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.