<div dir="ltr">I wonder if this<div><a href="https://www.daniweb.com/programming/web-development/threads/342307/utf-8-encoding-issues-with-strtolower">https://www.daniweb.com/programming/web-development/threads/342307/utf-8-encoding-issues-with-strtolower</a><br></div><div>is relevant?</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 19 August 2015 at 05:34, 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"><span class="">On 2015-08-15 09:24, Simon wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I  have an intranet group of pages "Siân", on disk as<br>
\\SERVER\Home\public_html\pmwiki\wiki.d\Siân<br>
<br>
Recently I have noticed PmWiki (current version) displaying them as (see<br>
image)<br>
[image: Inline images 1]<br>
<br>
The markup shows as<br>
* [[Recipes/Si�ns ]]recipes<br>
<br>
The URL shows as <a href="http://home/pmwiki/pmwiki.php/Si%e2n/HomePage" rel="noreferrer" target="_blank">http://home/pmwiki/pmwiki.php/Si%e2n/HomePage</a><br>
<br>
Because of the "%e2" character the URL doesn't access the correct files,<br>
and the link [[Siân/]] shows up as an undefined group.<br>
</blockquote>
<br></span>
This is a misconfiguration with character encoding.<br>
<br>
Was the server operating system, filesystem or server upgraded recently, or was the wiki migrated to a different server, or was the skin modified?<br>
<br>
When you edit the page, do you see the correct "â" character in [[Siân/]], or you see a question mark?<br>
<br>
The correct UTF-8 url-encoding of â is %c3%a2, when you follow a link like<br>
<br>
  <a href="http://home/pmwiki/pmwiki.php/Si%c3%a2n/HomePage" rel="noreferrer" target="_blank">http://home/pmwiki/pmwiki.php/Si%c3%a2n/HomePage</a><br>
<br>
is the Siân group opened correctly?<br>
<br>
If yes, I would assume your filesystem character encoding was modified, and your wiki might re-work fine by simply enabling UTF-8, see docs/sample-config.php<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
Any ideas. You can see a similar example here<br>
</span><a href="http://kiwiwiki.co.nz/pmwiki/pmwiki.php/Resources/Espa%f1ol" rel="noreferrer" target="_blank">http://kiwiwiki.co.nz/pmwiki/pmwiki.php/Resources/Espa%f1ol</a><br>
</blockquote>
<br>
Here I'm not sure why but browsers seem to display the page in UTF-8 while it is in cp1252.<br>
<br>
Try adding this to config.php:<br>
<br>
  $HTTPHeaders['cp1252'] = 'Content-type: text/html; charset=windows-1252';<br>
  $HTMLHeaderFmt['cp1252'] =<br>
    "<meta http-equiv='Content-Type' content='text/html; charset=windows-1252'/>";<br>
<br>
<br>
Petko<br>
<br>
-- <br>
Change log     :  <a href="http://www.pmwiki.org/wiki/PmWiki/ChangeLog" rel="noreferrer" target="_blank">http://www.pmwiki.org/wiki/PmWiki/ChangeLog</a><br>
Release notes  :  <a href="http://www.pmwiki.org/wiki/PmWiki/ReleaseNotes" rel="noreferrer" target="_blank">http://www.pmwiki.org/wiki/PmWiki/ReleaseNotes</a><br>
If you upgrade :  <a href="http://www.pmwiki.org/wiki/PmWiki/Upgrades" rel="noreferrer" target="_blank">http://www.pmwiki.org/wiki/PmWiki/Upgrades</a><br>
<br>
If this message helped you and saved you time, feel free to make<br>
a small contribution: ♥ <a href="http://5ko.fr/donate-ml" rel="noreferrer" target="_blank">http://5ko.fr/donate-ml</a> (mailing list).<br>
<br>
<br>
_______________________________________________<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>