[pmwiki-users] New recipe: FixURL encodes special characters in link addresses

Petko Yotov 5ko at 5ko.fr
Sat Nov 5 11:13:43 CDT 2011


On Friday 04 November 2011 10:58:27 Carles Escrig Royo wrote:
> Hello. It's a nice helping feature for novel authors.
> Shouldn't this be part of the core? Imho, this authors will never be
> able to find out how and which codes they should use for those
> characters.

Actually, these characters appear very rarely in addresses, and at least with 
Firefox and Chrome, when you copy such address of a page/link/picture, the 
correct, encoded address is copied to the clipboard and you can paste it 
without problems in PmWiki.

Among the rare cases, there is one which happens more often: pages of 
Wikipedia can have parentheses in their addresses and authors with MSIE or 
Opera need to encode them.

So, about including the recipe into the core, if many people use it, it is 
possible.

Petko

> On 11/1/11, Petko Yotov <5ko at 5ko.fr> wrote:
> > Hello. FixURL provides a [%2] button in the edit toolbar to encode
> > special characters like parentheses and quotes in link addresses, and
> > avoid incorrect interpretation by PmWiki:
> >   http://www.pmwiki.org/wiki/Cookbook/FixURL
...
> > press the button, and the address changes to:
> >   https://en.wikipedia.org/wiki/Wiki%20%28disambiguation%29
> > 
> > The second address works both in PmWiki and in all browsers and points to
> > the same external page.



More information about the pmwiki-users mailing list