Gmane
Picon
From: Felix Wiemann <Felix.Wiemann <at> gmx.net>
Subject: Re: How do I make a hyperlink that has whitespace?
Newsgroups: gmane.text.docutils.user
Date: 2005-05-24 17:40:48 GMT (2 years, 50 weeks, 3 days and 25 minutes ago)
Dan Gass wrote:

> For example, what I'd like to do except I get errors:
>
> Use myLink_ here
>
> .. _myLink: \\server\subdir with spaces\index.html

URIs cannot contain whitespace; whitespace in native path names must be
encoded as %20.  Please write ::

    Use myLink_ here

    .. _myLink: //server/subdir%20with%20spaces/index.html

In case the slashes do not work and you absolutely have to use
backslashes, please keep in mind to escape them
("\\\\server\\subdir%20with...").

(David: How do we catch such errors in the future?  Create a Warning
when non-newline-whitespace is stripped?  And what about backslashes and
the like?  Issue a Warning when URIs contain invalid characters?)

-- 
For private mail please ensure that the header contains 'Felix Wiemann'.

http://www.ososo.de/

-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005