Can any one explain me difference between and ?
I have html data stored in database in binary form and space in that can be either
is the classic space, the one you get when you hit your spacebar, represented by his HTML entity equivalent.
and represents the non-breaking space, often used to prevent collapse of multiple spaces togethers by the browser :
" " => " " (collapsed into only one space)
" " => " " (not collapsed)
If you are parsing a string containing both classic and non-breaking spaces, you can safely replace one by the other.