--- google_cse_adv.module	Thu Oct 21 11:07:00 2010
+++ google_cse_adv.module.patched	Thu Oct 21 11:23:14 2010
@@ -315,9 +315,9 @@
 
     foreach($xml->RES->R as $result) {
       // Markup is escaped in title - we have to strip it (and strip_tags is not enough protection for XSS)
-      $title = strip_tags((string)$result->T);
+      $title = strip_tags(utf8_decode((string)$result->T));
       $title = function_exists('htmlspecialchars_decode') ? htmlspecialchars_decode($title, ENT_QUOTES) : $title;
-      $snippet = check_plain(strip_tags((string)$result->S));
+      $snippet = check_plain(strip_tags(utf8_decode((string)$result->S)));
       $snippet = function_exists('htmlspecialchars_decode') ? htmlspecialchars_decode($snippet, ENT_QUOTES) : $snippet;
 
       $results[] = array(
