[pmwiki-users] umlauts again

noskule noskule at gmx.net
Mon Mar 27 10:32:09 CST 2006

hi list
I made the following script to get related pages (Discussion, 
Presetation, ...)

GLOBAL $pagename;
$presentation = '/.-Presentation/';
	if (preg_match($presentation, $pagename))
	$PageTextStartFmt = "*\n*<div id='presentation'>*\n*";

So, if the name ends with "-Presentation" the id wikipage id changes 
from wikitext to presentation. This works except if the pagename 
consists umlatuts.

cause the wikipage name is "Einleitung-Pr%e4sentation" but displays 
Einleitung-Presentation. Could this be changed somhow?
grz nos

More information about the pmwiki-users mailing list