Menu

#188 Gantt chart and CJK

open
nobody
None
5
2012-12-11
2004-05-07
Sean Kim
No

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?

Discussion

  • Sean Kim

    Sean Kim - 2004-05-07

    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.

     
  • Sean Kim

    Sean Kim - 2004-05-07

    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.

     

Log in to post a comment.