<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body>
    <p>Hi all!<br>
      <br>
      I am working on issue <a href="https://github.com/openstreetmap/Nominatim/issues/967">#967</a>.
      I have been asked to work on <code>/lib/Phrase.php 's</code> <code></code>constructor</p>
    <p>But I noticed that Phrase.php constructor does not receive
      %09-%13 characters. They are somehow removed.</p>
    <p>On further inspection, I found that this constructor is called by
      Geocode.php. The parameter passed itself does not have these
      characters. I found that <br>
    </p>
    <p>$sPhrase = $this->oDB->getOne(<br>
                          'SELECT make_standard_name(:phrase)',<br>
                          array(':phrase' => $sPhrase),<br>
                          'Cannot normalize query string (is it a UTF-8
      string?)'<br>
                      );</p>
    <p>in Geocode.php alters the $sPhrase and removes those characters.
      Should I go ahead and look into the the implementation further, or
      is there any other way?</p>
    <p><br>
    </p>
    <p>PS: I initially planned to replace return function of getString
      function in ParameterParser.php with</p>
    <p>return preg_replace('/[\x09|\x10|\x11|\x12|\x13]/', ' ',
      $this->aParams[$sName]);</p>
    <p><br>
    </p>
    <p>Regards,</p>
    <p>Rahul<br>
    </p>
  </body>
</html>