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