lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: LYNX-DEV lynx eats spaces in a link


From: Hiram Lester, Jr.
Subject: Re: LYNX-DEV lynx eats spaces in a link
Date: Thu, 20 Mar 1997 16:47:15 -0600 (CST)

On Thu, 20 Mar 1997 address@hidden wrote:

> I just found that if there is a link <a href="a b c">, lynx treats
> it as "abc" (with no spaces).  I looked in the CFP for handling of
> spaces in the links, but it wasn't of much help.  So the question is
> this how it is supposed to work, or does it have to do with the way
> lynx renders the document as it receives information?

Well, Larry told you why spaces aren't valid, but not how to encode them,
so I'll finish his explanation.  As he said, certain characters including
spaces must be encoded using a percent sign followed by the hexadecimal
value for the character.  In the case of a space, this would be %20, so
the href above should be "a%20b%20c%20".  I'm not sure what the "CFP" you
looked in is, but this should be in one of the RFC's dealing with URL's
and URI's.

   +------------------------------------+-------------------------------+
   | Hiram W. Lester, Jr.               | E-Mail: address@hidden    |
   | Computer Science                   | Home page:                    |
   | Middle Tennessee State University  |   http://pobox.com/~hwlester/ |
   +------------------------------------+-------------------------------+

;
; To UNSUBSCRIBE:  Send a mail message to address@hidden
;                  with "unsubscribe lynx-dev" (without the
;                  quotation marks) on a line by itself.
;

reply via email to

[Prev in Thread] Current Thread [Next in Thread]