Thanks, MC!
Would these changes do the trick?
Code:
if ($ep_uses_mysqli) {
$collation = mysqli_character_set_name($db->link); // should be either latin1 or utf8
} else {
$collation = mysql_client_encoding(); // should be either latin1 or utf8
}
if ($collation == 'latin1') {
if (function_exists('mb_internal_encoding')) {
mb_internal_encoding("iso-8859-1");
}
}
if (($collation == 'latin1') && ((substr($project, 0, 5) == "1.3.8") || (substr($project, 0, 5) == "1.3.9"))) {
//mb_internal_encoding("iso-8859-1");
$category_strlen_max = $category_strlen_max / 3;
$categories_name_max_len = $categories_name_max_len / 3;
$manufacturers_name_max_len = $manufacturers_name_max_len / 3;
$products_model_max_len = $products_model_max_len / 3;
$products_name_max_len = $products_name_max_len / 3;
$products_url_max_len = $products_url_max_len / 3;
$artists_name_max_len = $artists_name_max_len / 3;
$record_company_name_max_len = $record_company_name_max_len / 3;
$music_genre_name_max_len = $music_genre_name_max_len / 3;
$zco_notifier->notify('EP4_COLLATION_UTF8_ZC13X');
}
Also, the reason I highlighted the reference to 1.3.9 is that the site I'm working on is a 1.3.9h. Should I change that as well?
Thanks again!
Bookmarks