lgaud

Members
  • Content count

    2
  • Joined

  • Last visited

About lgaud

  • Rank
    Forum Newbie
  1. Found a solution - encoding accents with character codes (e.g. & #233 ; for é) works. This should probably be noted in the documentation.
  2. I am generating a chart which combines server side data with client side data. The client side data cannot be sent to the server, so I must use setDataXml. I was able to get my chart to display French accents properly using setDataUrl and setting the content type and binary writing the BOM as below. Response.ContentType = "text/xml; characterset=utf-8"; Response.BinaryWrite(new byte[] { 0xEF, 0xBB, 0xBF }); However, I haven't been able to get this to display correctly using setDataXml, where the xml is constructed in JavaScript on the client. VisualStudio appears to be saving everything as UTF-8 with signature, and I have opened and saved the relevant files using Notepad and UTF-8. I have also tried setting the headers in Page_Load in the code behind. protected void Page_Load(object sender, EventArgs e) { Response.ContentType = "text/html; characterset=utf-8"; //Response.HeaderEncoding = System.Text.Encoding.UTF8; Response.BinaryWrite(new byte[] { 0xEF, 0xBB, 0xBF }); } Any ideas? This is an older version of PowerCharts (we are considering upgrading for other reasons), but it does work with setDataUrl.