<div dir="ltr">Thanks Petko.<div><br></div><div style>I did a search of my directory for files with BOM, but only came up with a few pdfs.</div><div style><br></div><div style>grep -rl $'\xEF\xBB\xBF' .<br></div><div style>
<br></div><div style>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. </div>
<div style><br></div><div style>~Maria</div><div style><br></div><div style><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, May 31, 2013 at 12:27 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">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>
On some editors you need to go into the menu "Document" and uncheck the option "Write Unicode BOM". In others, select an option from the File-SaveAs dialog box. Or it may be elsewhere in the menus.<br>

<br>
Some text editors don't allow you this, but Geany, Notepad++, Kate can do this and they are free.<br>
<br>
See about BOM here: <a href="https://en.wikipedia.org/wiki/Byte_order_mark" target="_blank">https://en.wikipedia.org/wiki/<u></u>Byte_order_mark</a> .<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 class="im">
So, I have these strange characters on my website indicating that utf-8 is not working properly. I was able to figure out that emacs was not saving files as utf-8. Now if I create a new php file, it works fine. However, I can't get rid of the weird characters on the PmWiki site. I have saved config.php and a bunch of other files in utf-8 now, but nothing seems to change it. They show up if I use the parchment skin (currently the skin we are using) or if I switch it to the default pmwiki skin. Is it possible it is something else? What other files would affect the whole site? If you want to see it:<br>

<br>
<br></div>
<URL:<a href="http://www.shadlenlab.columbia.edu/" target="_blank">http://www.shadlenlab.<u></u>columbia.edu/</a>><a href="http://www.shadlenlab.columbia.edu/" target="_blank">http://www.<u></u>shadlenlab.columbia.edu/</a><div class="im">
<br>
<br>
<br>
<br>
This page also use to show these symbols at the bottom:<br>
<br>
<br></div>
<URL:<a href="http://www.shadlenlab.columbia.edu/test.php" target="_blank">http://www.shadlenlab.<u></u>columbia.edu/test.php</a>><a href="http://www.shadlenlab.columbia.edu/test.php" target="_blank">http://<u></u>www.shadlenlab.columbia.edu/<u></u>test.php</a><div class="im">
<br>
<br>
<br>
<br>
but after I changed the encoding for that file, it displays fine.<br>
<br>
<br>
thanks,<br>
Maria<br>
</div></blockquote>
<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>
</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>