Hi Tom,
I am not exactly sure which part of your user interface is the pound symbol showing correct or incorrectly. In general, you should use the following methods to ensure all text are shown correctly.
(a) If the standard text strings in your programming system are unicode based (such as in ASP/COM/VB, .NET, Java, ColdFusion), it should be able to represent all text correctly. Please just pass the pound character to ChartDirector. It should render correctly in the chart image.
(b) If the standard text strings in your programming language is single byte based (such as in PHP, Perl, Python, Ruby, C++), please pass the pound character and other text in UTF8 encoding to ChartDirector. It should render correctly in the chart image.
(c) If the pound character in the chart image is correct, but the pound character not rendered by ChartDirector are not correct, it means the system that is rendering the text does not understand the encoding of your pound character. For example, pop up tooltips are rendered by the GUI system or by a viewer program (such as a browser). If the pop up tooltips do not show correctly, may be the browser does not understand the encoding. In this case, please configure your GUI or viewer to use the correct encoding (eg. by using HTML tags or by sending suitable HTTP header).
If you need further help, may be you can inform me of your programming language, and the type of application you are writing (eg. is it a web or desktop application, and which GUI framework you are using). Please also provide a screen shot to help me understand which part is showing the characters correctly, and exactly what is shown for the incorrect display.
Hope this can help.
Regards
Peter Kwan |