Gantt chart and CJK
Projects / CRM / PLM / Calendar / Tasks / SCRUM / Test / Inventory
Brought to you by:
gokohnert
Hi,
Yesterday I succeeded to setup gantt chart and it is amazing.
But I had to hack some file to display Korean.
In line 37 of gantt_png.php
$bar = new GanttBar($n, $name, $start, $end, ->
$bar = new GanttBar($n, iconv("euc-kr","UTF-8",$name), $start, $end,
In line 84
html_entity_decode($parent->getFullName()) ); ->
iconv("euc-kr", "UTF-8",html_entity_decode($parent->getFullName())) );
In line 123
$font = FF_ARIAL; ->
$font = FF_GULIM;
Just three changes. And it works like charm.
So I wish to have encoding setting for iconv and default gantt chart font setting in config.pinc.
What do you think about it?
It can help CJK user greatly. :)
Or... do I have some option to tweak for displaying CJK?
Logged In: YES
user_id=932745
And I'm newbie to PHP.
So it may be not the best way to solve the problem.
Any recomendation will be help.
Logged In: YES
user_id=932745
And I'm newbie to PHP.
So it may be not the best way to solve the problem.
Any recomendation will be help.