Topic: Thai font shows ????? after upgrade software from 3.2.25 to 2.4.3

Thai font shows ????? after upgrade software from 3.2.25 to 2.4.3

I sucessfully upgrade FA version from 3.2.25 to 2.4.3.
The problem is all Thai font show "????" after upgrading. Previously, it's shown properly.

On 3.2.25, I fix font problem by:
1. \lang\installed_languages.inc : change iso-8859-1 to utf-8

2. Add the following line to \includes\db\connect_db.inc
      $link = mysql_connect($connection["host"], $connection["dbuser"], $connection["dbpassword"]);
       mysql_set_charset('UTF8', $link);

3.Copy font which support Thai to folder \reporting\font

4. Change font name to 'cordiaupc' on •    \reporting\includes\class.pdf.inc

However, the structure on file connect_db.inc is changed. I try to put same code to this file but Thai font is still can't read, but If I key new one to "FA", Thai font is readable.

Please advise to fix Thai font unreadable problem.

SNG

Re: Thai font shows ????? after upgrade software from 3.2.25 to 2.4.3

The db functions have now been moved to includes/db/connect_db_mysql.inc and includes/db/connect_db_mysqli.inc where the latter is the default preferred choice.