← Back to team overview

dhis2-users team mailing list archive

Re: The chinese words in chart is crazy words.

 

Unfortunately, it has not yet been resolved. Hopefully,  it can be in the
2.10 release at the end of this month.
Knut

Sent from my mobile
On Oct 11, 2012 3:58 AM, "easy" <lin_xd@xxxxxxx> wrote:

>
>
>
> Hi,sir,
> But the chart still have crazy words.
> --
> 此致
>
>   easy
>
> 莫愁前路无知己,天下谁人不识君。
> At 2012-10-10 19:56:31,"Jan Henrik Øverland" <janhenrik.overland@xxxxxxxxx>
> wrote:
>
> Hi, this has already been asked (by you) and answered (by me) on this list.
>
> On Tue, Oct 9, 2012 at 5:35 PM, easy <lin_xd@xxxxxxx> wrote:
>
>> 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_xd@xxxxxxx> 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" <larshelge@xxxxxxxxx> 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_xd@xxxxxxx> 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@xxxxxxxxxxxxxxxxxxx
>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~dhis2-users
>> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-users
> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>

Follow ups

References