User (Legacy) Posted July 16, 2003 Report Share Posted July 16, 2003 We are currently evaluating ChartFX for a unicode web application. The ASP are UTF-8 encoded and data are stored in MS SQL 2000 database as UCS-2. With noraml ASP functions we can display the DBCS characters on web page without any problem. When we attemp to include ChartFX for charting, the charts does not display the DBCS correctly. A segment of the ASP code is shown below: <%@ Language=VBScript CODEPAGE=65001%> <!-- #include virtual="/Include/CfxIE.inc" --> <% Set chart = Server.CreateObject("ChartFX.WebServer") chart.TopFont.Name= "MS Mincho" chart.TopFont.CharSet = 128 chart.Title(CHART_TOPTIT) = RS('Japanese_Str') ----- The codepage for the ASP used is UTF-8, the Chart Titke is taken from SQL database using ADO recordset. A normal response.write displays the Japanese title correctly but not with ChartFX. Anything wrong with the coding? Any help will be very much appreciated as this will be the deciding factor for purchasing ChartFX Internet 5.5 Link to comment Share on other sites More sharing options...
Software FX Posted July 16, 2003 Report Share Posted July 16, 2003 You need to assign the CodePage property to UTF-8 as follows: chart.CodePage = 65001 -- FP Software FX, Inc. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.