Igor Karpov - 2003-08-06

I am testing a JSP that writes some text with &nbsp; characters in <input type="text" ... > fields. When I call getParameterValue(), the string returned is different from what was originally in the database, because all the spaces (ASCII code 32) were sent as &nbsp; to HttpUnit and have been then replaced by the hard space (ASCII character 160).

Is this the correct behavior according to the specs?