WHITE SPACE

M

melissa

Hi NG,
I've heard and read to avoid white space character in the name of files or
folders and to replace them with underscore.
Moerover the white space should brings problems with javascript
Is it true? Why?
Bye and thanks
Melissa
 
S

Steve Easton

Because so browsers won't read file names with spaces which in effect
produces a broken link.
As for spaces in javascript, that would depend on which part of the script..
It could or could not have the effect of breaking a string value, depending
on the type of string and it's function.

--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
........................with a computer
 
R

Randy Birch

Spaces are not allowed in HTML URLS. While it looks pretty in windows
Explorer when your folder/file structure looks like

images\
our family pictures\
summer vacation 2003\
bob at the beach.gif

To use this in a URL the spaces are escaped to %20 (HEX 20 = ASCII 32 =
Character code for a space). Thus to be usable, your URL

http://www.myweb.com/our family pictures/summer vacation 2003/bob at the
beach.gif

needs to be written as


http://www.myweb.com/our family pictures/summer vacation 2003/bob at the beach.gif


--

Randy Birch
MVP Visual Basic
http://vbnet.mvps.org/
Please respond only to the newsgroups so all can benefit.


: Hi NG,
: I've heard and read to avoid white space character in the name of files or
: folders and to replace them with underscore.
: Moerover the white space should brings problems with javascript
: Is it true? Why?
: Bye and thanks
: Melissa
:
:
:
:
: ---
: Outgoing mail is certified Virus Free.
: Checked by AVG anti-virus system (http://www.grisoft.com).
: Version: 6.0.593 / Virus Database: 376 - Release Date: 20/02/2004
:
:
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top