<div dir="ltr">For the record: Somehow libapache2-mod-php5filter instead of libapache2-mod-php5 was installed. Why it worked for so long, or what the difference is I do not know, but having the right mod installed got rid of the weird characters. <div>
<br></div><div style>thanks for everyone's help!</div><div style><br></div><div style>cheers,</div><div style>maria</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, May 31, 2013 at 7:21 PM, Maria McKinley <span dir="ltr"><<a href="mailto:mariak@mariakathryn.net" target="_blank">mariak@mariakathryn.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Yes, my personal website (on a different server) is also running it without problems. :-( <div><br></div>
<div>Okay, I have figured out that it is something about php within html, which is not a pmwiki problem, so you are welcome to tell me to go elsewhere, but maybe somebody on this list can help me, so I don't have to go join a php list?</div>

<div><br></div><div>Here is the deal. If I take a file and write this in it:</div><div><br></div><div><div><html></div><div> <head></div><div>  <title>PHP Test</title></div>
<div> </head></div><div> <body></div><div> <?php phpinfo() ?> </div><div> </body></div><div></html></div><div><br></div><div>I get the funny letters. If I take the same file with the same editor, erase what is in it and write this:</div>

<div><br></div><div><?php phpinfo() ?><br></div><div><br></div><div>The funny letters go away. Any ideas?</div><div><br></div><div>thanks,</div><div>maria</div></div></div><div class="gmail_extra"><div><div class="h5">

<br><br><div class="gmail_quote">On Fri, May 31, 2013 at 3:24 PM, 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">

Some servers are configured to automatically prepend or append files to HTML output. This may be configured in a .htaccess, in php.ini or in httpd.conf, something like:<br>
<br>
   php_value auto_prepend_file prepend.php<br>
   (or auto_append_file)<br>
<br>
If this is the case, the file that is prepended or appended should be checked too - especially if it looks like an empty file with 3 bytes.<br>
<br>
Other than that, right now I don't see what could be the problem. It still may be related to PmWiki, to a skin, or to a recipe, and the advice for debugging is to disable one after another all recipes and every time reload the page to see if the characters have disappeared - if they have, then the last disabled recipe should be double checked.<br>


<br>
There are many wikis running in UTF-8 without this problem (including <a href="http://www.pmwiki.org" target="_blank">www.pmwiki.org</a> ), so it may be a problem specific to your specific installation.<br>
<br>
Petko<br>
<br>
Maria McKinley writes:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>
I did a search of my directory for files with BOM, but only came up with a few pdfs.<br>
grep -rl $'\xEF\xBB\xBF' .<br>
<br>
I also opened and re-saved as utf-8 every file I could think of that I might have changed, and re-copied the latest version of pmwiki. I'm starting to get really frustrated that I can't find what is causing this. <br>


<br></div><div>
On Fri, May 31, 2013 at 12:27 PM, Petko Yotov <<URL:mailto:<a href="mailto:5ko@5ko.fr" target="_blank">5ko@5ko.fr</a>><a href="mailto:5ko@5ko.fr" target="_blank">5ko@<u></u>5ko.fr</a>> wrote:<br>
<br>
   The characters that appear on your site are 0xEF 0xBF 0xBD which is the    standard Byte order mark (or mask). One of your *.php or *.tmpl files was    modified and saved with BOM and it shouldn't. You should reopen it and    save it in "UTF-8 without Byte Order Mark" (or "without BOM"), then upload    them back to the server.<br>


<br>
   The files which come in the PmWiki core distribution don't have Byte order    marks. I don't know of any recipe which comes with a BOM. If I were you,    I'd first look at the files which you have modified yourself.<br>


<br>
</div></blockquote><div><div>
<br>
______________________________<u></u>_________________<br>
pmwiki-users mailing list<br>
<a href="mailto:pmwiki-users@pmichaud.com" target="_blank">pmwiki-users@pmichaud.com</a><br>
<a href="http://www.pmichaud.com/mailman/listinfo/pmwiki-users" target="_blank">http://www.pmichaud.com/<u></u>mailman/listinfo/pmwiki-users</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div></div></div><div class="im">-- <br><div dir="ltr">Maria Mckinley<br>Programmer and System Administrator<div><a href="http://www.mariakathryn.net" target="_blank">www.mariakathryn.net</a></div>

<div><a href="http://www.linkedin.com/in/mariamckinley" target="_blank">www.linkedin.com/in/mariamckinley</a><br></div></div>
</div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Maria Mckinley<br>Programmer and System Administrator<div><a href="http://www.mariakathryn.net" target="_blank">www.mariakathryn.net</a></div><div>
<a href="http://www.linkedin.com/in/mariamckinley" target="_blank">www.linkedin.com/in/mariamckinley</a><br></div></div>
</div>