Jump to content
Software FX Community

Problem with UTF-8 encoded ASP pages


User (Legacy)

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...