Created attachment 40058 [details] Font error image While I renew items on Koha, the font error occurred in renewal. Please check help me this error
Which version of Koha? 3.18? Did you try 3.20? The problem only occurs on 1 page?
Hi Jonathan Druart I use Koha 3.18.04. When I use Koha 3.16.01, the font error occurred in renewal but I can fix error by edit file Database.pm. With koha 3.18.04 I can't fix error. With Koha 3.20 Beta, this error was fix. I see this error often occurs when database call from mysql. Thank!
Do you mean it's working in 3.20 and 3.16, but not in 3.18? What did you change on Database.pm?
I changes line 57-59 of file Database.pm in folder /usr/share/koha/lib/koha to fix error font in koha 3.16.01: From: my $db_opts = ($db_driver eq 'mysql') ? { mysql_enable_utf8 => 1 } : ($db_driver eq 'Pg') ? { pg_enable_utf8 => 1 } : { }; To: my $db_opts = ($db_driver eq 'Pg') ? { pg_enable_utf8 => 1 } : { }; However with Koha 3.18.04 can not fix this by
You should try and use the 3.20 version, especially if it fixes your issue. A big work (bug 11944) to simplify and fix encoding issues has been done in this last version. Encoding issues in previous versions will certainly not be fixed.