Added fix to properly encode ascii characters in string values

As per #5 of http://www.w3.org/TR/html5/forms.html#url-encoded-form-data