--- includes/bawstats.stats.inc	2009-10-03 00:37:47.000000000 +0200
+++ includes/bawstats.stats2.inc	2010-06-17 14:28:31.000000000 +0200
@@ -459,5 +459,12 @@ function baw_display_drupal($settings =
     }
   }
   $content .=  "</div>";
+  //required to be compatible with languages using non-unicode characters, feel free to change codepage to the one you have
+  if (function_exists('mb_detect_encoding')) {
+    $content = drupal_convert_to_utf8($content, mb_detect_encoding($content, 'UTF-8, ISO-8859-1, ISO-8859-2')); 
+  }
+  else {
+    $content = drupal_convert_to_utf8($content, 'ISO-8859-1');
+  }
   return filter_xss($content, array('a', 'em', 'strong', 'cite', 'code', 'ul', 'ol', 'li', 'dl', 'dt', 'dd', 'table', 'td', 'tr', 'th', 'div', 'img', 'br', 'h1', 'h2', 'h3'));
 }
