1

(4 replies, posted in Setup)

Thank you apmuthu for your reply.

I replace file html_entity_decode_php4.php with code in FA 2.3.22,change utf8 to utf-8 in \lang\installed_languages.inc and then problem is fixed. I don't understand why.

Dejavu font is supported Thai font, but the space between characters is improper presented. Unsanaupc, cordiaupc or thsarabun is perfectly displayed.

I just install and test "FA" on window xp sp3. It is a very useful accounting software.

Thank you so much,

Sawasdee (Hello)

After installing frontaccounting-2.3.25 on localhost webserver-appserv 2.5.10 (apache 2.2, php 5.2.17, mysql 5.0), I face a unreadable Thai font problem on pdf report ie trail balance shows à ̧‡à ̧ ́à ̧™à ̧ªà ̧”à ̧¢à (unreadable Thai font).

I already set the following:

1. set utf8 in \lang\installed_languages.inc
2. put code mysql_set_charset ('utf8', $link);into \includes\db\connect_db.inc
3. copy dejavu (as link in wiki) to font folder
4. delete line 336-347 in file html_entity_decode_php4.php casue using php <v5.3
5. file includes\class.pdf.inc line 161 is already set font name to dejavu.

I don’t’ sure it is about utf8 and utf-8. When I put utf-8 in file installed_languages.inc and connect_db.inc as no 1-2 mentioned above, on screen and my sql data displays Thai font as ‘????’, but changing to utf8 on screen and mysql data properly shows Thai font. However, I notice in ‘class.pdf.inc’ use UTF-8. I try to change code in this file to utf8. PDF report is shown blank (having only line with no font)

Please advice how to fix Thai font on pdf report.
Thank you
Seree