ReoScript icon indicating copy to clipboard operation
ReoScript copied to clipboard

Error in Chinese

Open toolgood opened this issue 8 years ago • 0 comments

 helper.StartScript("table(1).cell(1,2).text=\"1112\";"); // is ok
 helper.StartScript("表格(1).单元格(1,2).文本=\"1112\";");// is error

    public void StartScript(string js)
    {
        CompiledScript cs = null;
        try {
            cs = script.Compile(js);              // string end without '
            script.RunCompiledScript(cs);

        } catch (ReoScriptCompilingException ex) {
            MessageBox.Show(ex.Message, "error", MessageBoxButtons.OK, MessageBoxIcon.Error);
        }
    }

toolgood avatar Oct 09 '17 07:10 toolgood