Re: [Dhis2-users] The chinese words in chart is crazy words.

2012-10-11 Thread easy
hope so,thanks

At 2012-10-11 12:30:48,"Knut Staring"  wrote:


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"  wrote:




Hi,sir,
But the chart still have crazy words.

--

此致

  easy

莫愁前路无知己,天下谁人不识君。
At 2012-10-10 19:56:31,"Jan Henrik Øverland"  
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  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  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"  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  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







___
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


Re: [Dhis2-users] The chinese words in chart is crazy words.

2012-10-10 Thread Knut Staring
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"  wrote:

>
>
>
> Hi,sir,
> But the chart still have crazy words.
> --
> 此致
>
>   easy
>
> 莫愁前路无知己,天下谁人不识君。
> At 2012-10-10 19:56:31,"Jan Henrik Øverland" 
> 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  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  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"  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  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
>>
>>
>
>
>
> ___
> 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


Re: [Dhis2-users] The chinese words in chart is crazy words.

2012-10-10 Thread easy



Hi,sir,
But the chart still have crazy words.

--

此致

  easy

莫愁前路无知己,天下谁人不识君。
At 2012-10-10 19:56:31,"Jan Henrik Øverland"  
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  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  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"  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  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



___
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


Re: [Dhis2-users] The chinese words in chart is crazy words.

2012-10-10 Thread Jan Henrik Øverland
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  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  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"  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  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
>
>
___
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


Re: [Dhis2-users] The chinese words in chart is crazy words.

2012-10-09 Thread easy
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  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"  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  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


Re: [Dhis2-users] The chinese words in chart is crazy words.

2012-10-09 Thread Lars Helge Øverland
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  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


[Dhis2-users] The chinese words in chart is crazy words.

2012-10-09 Thread easy
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