I find this function in app.js under visualizer module will replace all chinese 
word with null,so the chinese org name will display none in org tree in 
visualize chart designer.

jsonEncodeString: function(str) {
return typeof str === 'string' ? str.replace(/[^a-zA-Z 
0-9(){}<>_!+;:?*&%#-]+/g,'') : str;
},

At 2012-10-09 22:56:30,easy <lin...@126.com> wrote:

Hi,Lars,
  I updated from trunk,recompile,still find some  crazy words,though some is 
corrected.
  I wonder if  some chart are normal ,but some other chart arn't display 
normal. why do you think is font problem?




--

此致
easy

莫愁前路无知己,天下谁人不识君。

At 2012-10-09 18:32:30,"Lars Helge Øverland" <larshe...@gmail.com> wrote:
Hi Easy


I can see that we are using Tahoma as font for the server-generated charts 
which is not good practice. I have changed to using a logical sans serif font, 
which means that Java will search for the best match within the available fonts 
for this category. This means that you should be able to install a Chinese sans 
serif font on your server to render this properly. 


You can download the latest version from here


http://apps.dhis2.org/ci/


regards,


Lars




 


On Tue, Oct 9, 2012 at 9:44 AM, easy <lin...@126.com> wrote:

Hi,all, I put some chinese words in chart,some charts are normal ,but some 
charts display abnormbal,crazy words, why>? view in attachment.








--

此致

   easy

莫愁前路无知己,天下谁人不识君。
 
thanks!
 



_______________________________________________
Mailing list: https://launchpad.net/~dhis2-users
Post to     : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp






_______________________________________________
Mailing list: https://launchpad.net/~dhis2-users
Post to     : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp

Reply via email to