FP98: Import Web Wizard Replaces Spaces in Files with %20 (180381)



The information in this article applies to:

  • Microsoft FrontPage 98 for Windows

This article was previously published under Q180381

SYMPTOMS

Some Web sites contain files or folders with spaces. When you import these Webs using the Import Web wizard, FrontPage replaces each space with %20.

CAUSE

When creating a hyperlink to a page that contains a space, FrontPage replaces the space with %20. For example, for the following link to a file named new page.htm, FrontPage writes the HTML as:
   <a href="new%20page.htm">new page.htm</a>
				
When the Web is being imported using the Import Web wizard, FrontPage reads the hyperlink information to find the next page to import. FrontPage names new pages in the Web using the hyperlink information.

WORKAROUND

To remove the %20 in the file name, follow these steps:
  1. In the FrontPage Explorer, click to select the file.
  2. Click Rename on the Edit menu, and remove the %20 from the file name.
NOTE: You cannot rename the file in Hyperlink view.

MORE INFORMATION

It is necessary to encode any characters that may cause incompatibility between servers and routers on the Internet, including spaces and other binary data. The standard convention of the % (percent) character followed by two hexadecimal digits is used to encode these special characters. Some of these special characters include:

CTL SP " # % < and >

In FrontPage, you cannot include the following characters in your file names:

/ \ * : ? # > < |

FrontPage will allow you to use spaces and % (percent) signs in your file names. Spaces will be replaced with %20 and % (percent) signs will be replaced with %25. This is done to maintain compatibility with World Wide Web Consortium specifications.

For information about URLs and URL encoding, see the World Wide Web Consortium Web site at: The third-party Web contact information included in this article is provided to help you find the technical support you need. This contact information is subject to change without notice. Microsoft in no way guarantees the accuracy of this third-party contact information.

Modification Type:MajorLast Reviewed:12/1/2000
Keywords:kbprb KB180381