Stattraq plugin for Wordpress 29 August 2006, 21:23
Posted by Orhan in : Geeky Techy Stuff , trackbackI started using the stattraq plugin to collect statistics about my blogs. There was a problem with character encodings in summary and search string result pages, though, since I post in Turkish in some blogs. If you are having similar issues, the following fix could also work for you.
I was able to fix the character encoding issues I had with Turkish characters like this:
Edit summary.php under the wp-stattraq/reporter directory. Find:
htmlentities(stripslashes($row->post_title)); and change it to
htmlentities(stripslashes($row->post_title), ENT_COMPAT, ‘UTF-8′);
Also, in the query_strings.php, find:
htmlentities($row->search_phrase) and change to
htmlentities($row->search_phrase, ENT_COMPAT, ‘UTF-8′)
Comments»
no comments yet - be the first?