Echo behavior

Echo is removing extra blank spaces. See the command.

export INSTALLDIR=�First Second /Two Space�
echo $INSTALLDIR
out put: First Second /Two Space
Here only on blnak space is present while with command

Echo �$INSTALLDIR�
Out put: �First Second /Two Space�
It's correct output with two blank spaces.
Any one can pls. explains why echo is behaving like this.

First off, the two spaces aren't visible unless you put code in code tags. [ code ] stuff [ /code ] without the extra spaces in the tags.

And the reason that the extra space is lost is because the shell splits commands apart on spaces, even if they're a single variable, nothing to do with echo. Your command, without the quotes, amounts to:

echo "First" "Second "/Two" "space"

You use quotes to tell the shell not to split a string apart.

Thanks