Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Chinese characters garbled question (Read 1407 times)
wangzh
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 25
Joined: Apr 25th, 2009
Chinese characters garbled question
Apr 29th, 2009 at 1:58am
Print Post  
hi stoyan,
    I using  the net diagram in JavaApplet mode.I have to upgrade Control to 3.0.
    I want to use the Diagram.saveToString method to get the XML as a string by JavaScript on client-side.
    I do so in accordance with you give me codes.Javascript Code is as follows:
function test()
{
var applet = <%= diagramView.AppletElement %>;
var diagram = applet.getDiagram();

// Base64 = 1;
// Xml = 2;
// CompressedXml = 3;
var xml = diagram.saveToString(2, true);
alert(xml);
}

But i found the Chinese characters are still garbled.
Running on my computer, generate the xml data is always utf-8 format, rather than utf-16 format.
I think it was caused by this question,How can I do to utf-16 format to generate data?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Chinese characters garbled question
Reply #1 - Apr 29th, 2009 at 9:19am
Print Post  
Hi,

Have you overwritten the jdiagram.jar file in your project's folder with the one from NetDiagram version 3?

Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint