chinese word can't display in dv option panel

I build the app using dhis29 trunk code . but there some where can’t display chinese word. esp in datavisulizer module.

the chinese named DE,Indicator,orginzation, all display none.

some charts also can’t display chinese organization name.

image

···


此致

easy

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

I FIND:
what’s this function function? in DV app.js line 270.

···

==============

jsonEncodeString: function(str) {

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

	},

======================

all chinese words be replaced!?


此致

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

At 2012-07-25 15:58:36,easy lin_xd@126.com wrote:

I build the app using dhis29 trunk code . but there some where can’t display chinese word. esp in datavisulizer module.

the chinese named DE,Indicator,orginzation, all display none.

some charts also can’t display chinese organization name.

此致

easy

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

Where do you work in Chinese?

···

Sent from my mobile

On Jul 25, 2012 2:59 PM, “easy” lin_xd@126.com wrote:

I build the app using dhis29 trunk code . but there some where can’t display chinese word. esp in datavisulizer module.

the chinese named DE,Indicator,orginzation, all display none.

some charts also can’t display chinese organization name.

此致

easy

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


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

Hi Easy,

Chinese characters won’t work very well as keys in a javascript object and that’s how the chart engine data reader wants it. However, I have been thinking of a way to work around this “limitation”, so stay tuned - Chinese might work in version 2.10 :slight_smile: I don’t have the time to look at this for 2.9 which is hopefully released tomorrow.

Jan

···

On Wed, Jul 25, 2012 at 10:38 AM, Knut Staring knutst@gmail.com wrote:

Where do you work in Chinese?

Sent from my mobile

On Jul 25, 2012 2:59 PM, “easy” lin_xd@126.com wrote:

I build the app using dhis29 trunk code . but there some where can’t display chinese word. esp in datavisulizer module.

the chinese named DE,Indicator,orginzation, all display none.

some charts also can’t display chinese organization name.

此致

easy

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


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