<div dir="ltr">Thanks Petko,<div>though I had the encoding OK, but on further examination using NotePad++ the encoding was UTF-8, changed it to ANSII and saved file.</div><div><br></div><div>I wonder whether <a href="http://www.pmwiki.org/pmwiki/uploads/Cookbook/extract.php">it</a> was loaded to PmWiki with that encoding, or changed to that encoding on download from PmWiki.</div><div>I downloaded it again from PmWiki (save link as with Chrome) and NotePad++ tells me it is encoded with UTF-8.</div><div><br></div><div>For comparison I downloaded a <a href="http://www.pmwiki.org/pmwiki/uploads/Cookbook/2015-07-01-nztopo.php">file</a> I recently uploaded to PmWiki to find NotePad++ shows it as UTF-8 without BOM.</div><div><br></div><div>again thanks for the prompt reply.</div><div><br></div><div>Simon</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 10 July 2015 at 22:35, Petko Yotov <span dir="ltr"><<a href="mailto:5ko@5ko.fr" target="_blank">5ko@5ko.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">When you save the file, the encoding/charset should be either cp1252/Windows1252 or UTF-8 without Byte Order Mark.<br>
<br>
Also, double check that you not have any spaces, characters or line breaks before the first <?php of that file.<br>
<br>
Finally, when you transfer the files, tell your FTP manager to use text mode transfer, or, if that doesn't help, binary mode transfer.<br>
<br>
Petko<div><div class="h5"><br>
<br>
On 2015-07-10 11:17, Simon wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I've been testing on Windows, all good. Uploaded to my host (linux)<br>
and I get this error<br>
<br>
PHP Warning:  Cannot modify header information - headers already sent by<br>
(output started at<br>
/home/ttcorgnz/public_html/pmwiki/cookbook/extract.php:1) in<br>
/home/ttcorgnz/public_html/pmwiki/pmwiki.php on line 1240<br>
<br>
I've not had this happen before.<br>
I checked the download and upload of extract.php (e.g. opened it with<br>
notepad++ and saved to check encoding).<br>
<br>
Any ideas would be appreciated, in the meantime I've had to comment it out<br>
</blockquote>
<br>
<br></div></div>
_______________________________________________<br>
pmwiki-devel mailing list<br>
<a href="mailto:pmwiki-devel@pmichaud.com" target="_blank">pmwiki-devel@pmichaud.com</a><br>
<a href="http://www.pmichaud.com/mailman/listinfo/pmwiki-devel" rel="noreferrer" target="_blank">http://www.pmichaud.com/mailman/listinfo/pmwiki-devel</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>____<br><a href="http://kiwiwiki.nz" target="_blank"><font size="1">http://kiwiwiki.nz</font></a></div></div></div>
</div>