Skip to main content
Skip table of contents

Umlaut Encoding for POST Requests

Symptom/Problems

The search does not return any (or less) results when searching for a search term that contains umlauts when using POST to submit the search form. With GET everything works as expected.

Solution

Make sure to add the enctype attribute to the form tag.

Example:

XML
<form action="${space.url}/search" method="POST" enctype="application/x-www-form-urlencoded">
    <input type="text" autocomplete="off" name="q" value="$!searchRequest.queryString" />
    <button type="submit">Search</button>
</form>
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.