cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Chinese characters show error in Performance Measure Results

Chinese characters show error in Performance Measure Results

Chinese characters show error in Performance Measure Results.

This bug had been existed a long time. And hope it will modified in next release.

10584-pic.png

2 Comments
philboboADSK
Autodesk

Yes, this is a bug. I've added a case to the dev list to fix this. Thanks.

frenk_gao1
Not applicable

You can try to run this code.

Add support to GBK.

Image.png

experimentergbk.txt

//FlexSim
treenode foo=node("VIEW:/standardviews/statistics/PerformanceMeasures/tabcontrol/Performance Measures/GraphPanel/HtmlGraph>eventfunctions/coldlinkx");
string str=getnodestr(foo);
string newStr=stringreplace(str,
	"\"<html>\\r\\n<head><title>Performance Measure</title>\\r\\n\"",
	"\"<html>\\r\\n<head><title>Performance Measure</title>\\r\\n<meta charset=\\\"GBK\\\">\"");
setnodestr(foo,newStr);
buildnodeflexscript(foo);
//Outside 1
foo=node("VIEW:/standardviews/statistics/PerformanceMeasures>eventfunctions/generatereport");
str=getnodestr(foo);
newStr=stringreplace(str,
	"\"	<title>Experimentation Report</title>\\n\"",
	"\"	<title>Experimentation Report</title>\\n<meta charset=\\\"GBK\\\">\"");
setnodestr(foo,newStr);
buildnodeflexscript(foo);
//Outside 2
foo=node("VIEW:/standardviews/statistics/PerformanceMeasures>eventfunctions/generateviewer");
str=getnodestr(foo);
newStr=stringreplace(str,
	"\"	<title>Experimentation Report</title>\\r\\n\"",
	"\"	<title>Experimentation Report</title>\\n<meta charset=\\\"GBK\\\">\"");
setnodestr(foo,newStr);
buildnodeflexscript(foo);

Can't find what you're looking for? Ask the community or share your knowledge.

Submit Idea