I have a ‘basic’ question with building a correct search query via the searchview option. I create a search based upon values in some fields.
With fields that contain only 1 word the search construction works okej. But when I have a field that contains more than 1 word with a space in between the construction goes wrong.
For example:
Field Release = “01”
Field Company = “My company”
My constructor builds an url that results in the browser:
Subject: Make sure the correct content-type is set for the search form
The first thing I would check is if the content-type is specified correctly for the page. The content-type can be specified in the HTTP header and in the HTML head of the page in a meta tag.
You can configure these settings in the server document of the Domino server or
if you are using web site documents - in the web site document.
Look at the Domino Web Engine Tab at the right column. Finding the correct
settings is not really straightforward, unfortunately.
We are currently using these settings which are working fine for many
multi-language web sites.
Use UTF-8 for output: No
Use UTF-8 for HTML forms: No
Default character set group: Western
Western: ISO-8859-1
Central European: Windows-1250
…
Use auto-detection if database has no language information: No
Character set in header: Enabled
Meta character set: Enabled
If you cannot change these settings you can manuall include a meta tag
specifying the content-type in the HTML Head of your web form: