Nevron Forum

displaying Chinese characters in a node

https://www.nevron.com/Forum/Topic5108.aspx

By N P - Tuesday, April 26, 2011

Hi,

I am trying to draw an org chart like the one in the demo. However, some of the text in each node is to be shown in Chinese and some in English. So, this is not a standard localization requirement, where all the text gets displayed in the selected language.

The source data is in a database, and I have inserted the actual Chinese characters in the database.

But, when the org chart is rendered, the chinese characters appear as just a square.

I inserted CodePage="950" in the header of the .aspx page, but that made no difference.

What do I need to do to get it to work correctly?

Thanks,
NP
By Nevron Support - Wednesday, April 27, 2011

Hi NP,

The diagram generates the image on the server - therefore you should have fonts that support Chinise there. You may also need to change the font that you use inside the shape.

By N P - Thursday, April 28, 2011

For now I am running the Visual Web Developer local IIS. The Chinese fonts do get displayed correctly in IE and Chrome. So, I am not sure what I need to do to get the fonts to work... could you clarify?

Thanks.
By Nevron Support - Tuesday, May 3, 2011

Hi NP,

Most likely this is a browser / html related problem if the page displays correctly under some browsers and is not related to the diagram as it generates a raster image on the server (and therefore does not depend on the browser).