Bug 14372 - Error font in Koha Vietnamese
Summary: Error font in Koha Vietnamese
Status: CLOSED WONTFIX
Alias: None
Product: Koha
Classification: Unclassified
Component: Circulation (show other bugs)
Version: 3.18
Hardware: All Linux
: P3 normal (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-10 05:04 UTC by hienpn
Modified: 2017-06-14 22:10 UTC (History)
4 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments
Font error image (77.97 KB, image/jpeg)
2015-06-10 05:04 UTC, hienpn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description hienpn 2015-06-10 05:04:26 UTC
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
Comment 1 Jonathan Druart 2015-07-15 07:31:18 UTC
Which version of Koha? 3.18?
Did you try 3.20?
The problem only occurs on 1 page?
Comment 2 hienpn 2015-07-15 08:12:55 UTC
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!
Comment 3 Katrin Fischer 2015-07-15 10:25:01 UTC
Do you mean it's working in 3.20 and 3.16, but not in 3.18?
What did you change on Database.pm?
Comment 4 hienpn 2015-07-15 10:48:55 UTC
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
Comment 5 Jonathan Druart 2015-07-15 12:12:39 UTC
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.