PassMark Logo
Home » Forum

Announcement

Collapse
No announcement yet.

German Umlauts

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • German Umlauts

    A strange problem occurs when I search for words with umlauts in them:

    - When we launch a search from the search window integrated into the
    header of our regular pages, the umlauts somehow get corrupted.
    Here's a link to our staging server: http://icms.mesh-test.com
    If you enter something with an umlaut into the search window at the top
    (e.g. "Acetylsalicylsäure" ... the "ä" gets changed into "ä" on the
    results page).

    - However if you use the regular search window on
    http://icms.mesh-test.com/zoom/search.php or even the search window in
    the header of that page, the umlaut is not broken.

    Any ideas why that might happen?

    The code in the header is the same on both pages.
    Encoding is the same in the search_template.html as in the other php
    pages of the site (content=text/html ... charset=utf-
    The header part is pulled in as an include on the php pages, on the
    search_template it is integrated directly in the code, but otherwise
    I cannot think of a difference.

    All content on the site is in German so the umlauts are critical.

    Any help would be greatly appreciated.

  • #2
    You asked the same question via E-mail support a couple of days ago, and we provided a solution. Here is a copy of the response.

    The search results page appears to be in the character set Windows-1252, and not UTF-8. This causes the character corruption. See the attached screen shot (in the E-mail).

    Looking at the HTTP headers returned by the search result page gives this information.

    HTTP/1.1 200 OK
    Date: Sun, 03 Jan 2010 21:26:59 GMT
    Server: Apache/1.3.33 (Win32) PHP/4.4.4
    X-Powered-By: PHP/4.4.4
    Connection: close
    Content-Type: text/html; charset=windows-1252

    But looking at the HTTP header from your home page gives this information,

    HTTP/1.1 200 OK
    Date: Sun, 03 Jan 2010 21:28:30 GMT
    Server: Apache/1.3.33 (Win32) PHP/4.4.4
    X-Powered-By: PHP/4.4.4
    Set-Cookie: PHPSESSID=186d0e78f3536ac57823f13cabeec3ae; path=/
    Expires: Thu, 19 Nov 1981 08:52:00 GMT
    Cache-Control: private
    Pragma: no-cache
    Connection: close
    Content-Type: text/html; charset=UTF-8

    So my guess is that you have not set UTF-8 correctly in the Zoom configuration window. This can be done from the "languages" configuration window. You will need to re-index your site and upload new configuration files after doing this

    Comment


    • #3
      Thank you very much for your reply.
      I did send the same question by email, unfortunately, I did not see your response (and still cannot find it even in the spam folder of my email client). I am sorry to be asking this twice, I am just trying to get Zoom to work the way we need it.

      Changing the encoding and character set to utf-8 in the indexer worked perfectly, thanks!

      ph

      Comment

      Working...
      X