Make OpenX properly display UTF-8 characters

Upon installing OpenX, I realized that it does not display properly some UTF-8 charactes, such as Russian ‘И’ and ‘ш’.

The solution (got it here) is to place SET NAMES ‘utf8’ in two places.

file: openx/lib/OA/DB.php
search: $oDbh->setFetchMode(MDB2_FETCHMODE_ASSOC);
add after: $oDbh->query(“SET NAMES utf8”);

file: openx/lib/OA/Dal/Delivery/mysql.php
search: if (@mysql_select_db($dbName, $dbLink)) {
add before: @mysql_query(“SET NAMES utf8”);

Name:

Email:

Remember my personal information

Notify me of follow-up comments?

Submit the word you see below: