PassMark Logo
Home » Forum

Announcement

Collapse
No announcement yet.

zoom_highlight and umlauts

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

  • zoom_highlight and umlauts

    Hello,

    is it possible that the highlight.js has a problem to jump and mark targets with umlauts?

    The search after "Rückrufwunsch" gives me one Result, which can`t open the webpage.

    My language setting in zoom is "iso-8859-1 (English / Latin 1)" and in the search template "ISO-8859-1".

    Peter

  • #2
    It would seem so. The %FC in the zoom_highlight url parameter is what's choking.

    Comment


    • #3
      Is this page:
      http://www.marchert.de/startseite.html
      ... really a static HTML file? Or does it actually contain some server-side scripting (eg. PHP, SHTML, etc.) or even URL Re-Write settings?

      We can't be sure seeing this remotely, but I'm suspecting there is server-side scripting. The reason I say this is that the page actually fails to load when a percentage sign appears anywhere in the URL, for example, the following URL (which should just load the page normally - if it was a static HTML, since the GET parameters in the URL - everything after the question mark; would just be ignored):
      http://www.marchert.de/startseite.html?blah=%

      However, going to the above URL causes the same error to occur: where your server times out and does not send any data/response. That's not normal behaviour for a web server (usually there'd at least be an status code). I suspect this is a bug in your server-side script.

      Here's the wget attempt at requesting that test URL:
      Code:
      C:\support\zoom\test>wget http://www.marchert.de/startseite.html?blah=%
      --10:45:54--  http://www.marchert.de/startseite.html?blah=%25
                 => `startseite.html@blah=@25'
      Resolving www.marchert.de... done.
      Connecting to www.marchert.de[212.243.197.20]:80... connected.
      HTTP request sent, awaiting response...
      10:45:57 ERROR -1: No data received.
      C:\support\zoom\test>
      This should not happen with any normal static HTML page, or any dynamically generated web page that is working correctly.

      Judging from my above observations - I don't think the problem is caused by the highlight script. I also downloaded the startseite.html page (via wget) and tried it on a local web server, with the "?zoom_highlight=r%FCckrufwunsch" parameter, and it worked correctly and successfully highlighted the word containing the umlaut.
      Last edited by Ray; Feb-05-2007, 11:56 PM.
      --Ray
      Wrensoft Web Software
      Sydney, Australia
      Zoom Search Engine

      Comment


      • #4
        Hello Ray,

        thank you very much for your answer.

        Yes, most of the page is generated dynamically and rewrite is used too. But the bug was in the survey block.

        Sorry for wasting your time

        Peter

        Comment

        Working...
        X