A Database Error Occurred

Error Number: 1267

Illegal mix of collations (cp1251_general_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for operation '='

SELECT COUNT(base.id) AS result FROM `wo_db_prof_base` as base, `wo_inf_city` as city, `wo_inf_regions` as region WHERE (base.moder = 1) AND base.name != '' AND SUBSTRING(LCASE(base.`name`), 1, 1) = '��' AND region.id = base.fregion AND base.fcity = city.id AND base.id IN (SELECT `firmid` FROM wo_db_prof_porubrikam WHERE `rubrid` = '6')