the libURLLastRHHeader() returns: Transfer-Encoding: chunked Content-Tape: text/html Whatever that means. But isoToMac() does the trick. I thought Unix and Mac would use the same charset. Thanks Tiemo
> -----Ursprüngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag > von Björnke von Gierke > Gesendet: Dienstag, 29. April 2014 14:38 > An: How to use LiveCode > Betreff: Re: How to encode/decode PHP - LC on Win/Mac? > > If the php files are executed by a web-server (like apache), then you probably > have an encoding header supplied with each request. To find out the encoding > you can query the URL in LC, and then use the libURLLastRRHHeaders() function. > Note that sometimes the headers are badly made, and do not actually match the > encoding of the data. In such a case you can only guess. > > Alternatively, did you try to use the isoToMac() function? > > On 29 Apr 2014, at 14:29, Tiemo Hollmann TB <toolb...@kestner.de> wrote: > > > Does it depend on on which > > platform they are originally written? Does it depend on the > > FTP-transfer options? Does it depend on the server platform (Unix)? Do > > I have to set a coding in the PHP, like the charset in HTMLs? > > -- > > Anyone thinking about going to Zurich in the summer? > Please fill out the form and send me an email: > http://doodle.com/yapygihh3itgz2qr > > -- > > Use an alternative Dictionary viewer: > http://bjoernke.com/bvgdocu/ > > Chat with other RunRev developers: > http://bjoernke.com/chatrev/ > > > > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode