Menu

#66 Incorrect utf-8 in outbox.php and notify.php

open
nobody
None
5
2009-05-29
2009-05-29
No

Using avantfax 3.1.6

When the AddresBook class is used to locate company name (in outbox.php when displaying as super user the failed fax queue or in notify.php when emailing for a failed fax) , the utf-8 encoded company name is returned as ??????????. I've tried to locate the problem inside source. I could fix it by adding in the public function find of the MDBO class, the @mysql_query("set character set 'utf8'"); @mysql_query("set names 'utf8'"); lines but I am sure this is not the correct solution. I couldn't understand by looking at the source why the AddressBook class doesn't set the utf-8 mode correctly, when the SQL class does.

Discussion


Log in to post a comment.