Idea

jing.c avatar image
3 Likes"
jing.c suggested Frenk Gao commented

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.

experimenterbug reportchinese character
pic.png (14.6 KiB)
· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Comment

Frenk Gao avatar image
2 Likes"
Frenk Gao commented

You can try to run this code.

Add support to GBK.

experimentergbk.txt

  1. //FlexSim
  2. treenode foo=node("VIEW:/standardviews/statistics/PerformanceMeasures/tabcontrol/Performance Measures/GraphPanel/HtmlGraph>eventfunctions/coldlinkx");
  3. string str=getnodestr(foo);
  4. string newStr=stringreplace(str,
  5. "\"<html>\\r\\n<head><title>Performance Measure</title>\\r\\n\"",
  6. "\"<html>\\r\\n<head><title>Performance Measure</title>\\r\\n<meta charset=\\\"GBK\\\">\"");
  7. setnodestr(foo,newStr);
  8. buildnodeflexscript(foo);
  9. //Outside 1
  10. foo=node("VIEW:/standardviews/statistics/PerformanceMeasures>eventfunctions/generatereport");
  11. str=getnodestr(foo);
  12. newStr=stringreplace(str,
  13. "\" <title>Experimentation Report</title>\\n\"",
  14. "\" <title>Experimentation Report</title>\\n<meta charset=\\\"GBK\\\">\"");
  15. setnodestr(foo,newStr);
  16. buildnodeflexscript(foo);
  17. //Outside 2
  18. foo=node("VIEW:/standardviews/statistics/PerformanceMeasures>eventfunctions/generateviewer");
  19. str=getnodestr(foo);
  20. newStr=stringreplace(str,
  21. "\" <title>Experimentation Report</title>\\r\\n\"",
  22. "\" <title>Experimentation Report</title>\\n<meta charset=\\\"GBK\\\">\"");
  23. setnodestr(foo,newStr);
  24. buildnodeflexscript(foo);
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Your Opinion Counts

Share your great idea, or help out by voting for other people's ideas.