--- apachesolr.module	2010-09-03 12:35:36.000000000 +0200
+++ apachesolr.module	2010-09-01 17:31:08.000000000 +0200
@@ -20,7 +20,7 @@ function apachesolr_init() {
     set_include_path(dirname(__FILE__) . PATH_SEPARATOR . get_include_path());
     require_once 'Zend/Json/Decoder.php';
     require_once 'Zend/Json/Encoder.php';
-
+
     /**
      * Substitute for missing PHP built-in functions.
      */
@@ -1684,7 +1684,7 @@ function apachesolr_do_query($caller, $c
   $solr = apachesolr_get_solr();
   // We must run htmlspecialchars() here since converted entities are in the index.
   // and thus bare entities &, > or < won't match.
-  $response = $solr->search(utf8_decode(htmlspecialchars($keys, ENT_NOQUOTES, 'UTF-8')), $params['start'], $params['rows'], $params);
+  $response = $solr->search(htmlspecialchars($keys, ENT_NOQUOTES, 'UTF-8'), $params['start'], $params['rows'], $params);
   // The response is cached so that it is accessible to the blocks and anything
   // else that needs it beyond the initial search.
   apachesolr_static_response_cache($response, $caller);
