[pmwiki-users] Anchors that starts with umlaut characters
Peter Brink
peter.brink at brinkdata.se
Wed Jun 29 06:46:17 CDT 2005
I have a bit of trouble with anchors whose name starts with an umlaut
character. I've searched the net for clues but found nothing illuminating.
My problem is that when I create an anchor such as [[#äkta]] it does not
work. The anchor is displayed along with the rest of the text instead of
being hidden (as it should) and of course it does not work as an anchor
either. I've tried to modify the anchor markup in stdmarkup.php but that
didn't help. I changed the markup from:
## [[#anchor]]
Markup('[[#','<[[','/(?>\\[\\[#([A-Za-z][-.:\\w]*))\\]\\]/e',
"Keep(\"<a name='$1' id='$1'></a>\",'L')");
to:
## [[#anchor]]
Markup('[[#','<[[','/(?>\\[\\[#([A-Öa-ö][-.:\\w]*))\\]\\]/e',
"Keep(\"<a name='$1' id='$1'></a>\",'L')");
My site has the meta tag “Content-Language” set to ”svenska”.
There seems to be a lot of people on this list that hails from countries
whose languages use umlauts (e.g. German or Swedish), so I wonder if any
of you have encountered the same problem that I have and if so how did
you solve it?
More information about the pmwiki-users
mailing list