corrected problem on creating StringEntity with parameters that contain
special characters