https://bugs.documentfoundation.org/show_bug.cgi?id=161405
Rafael Lima <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #2 from Rafael Lima <[email protected]> --- (In reply to Werner Tietz from comment #1) > !!It's best not to use ‘ScriptForge’ at all!! I don't understand this remark. ScriptForge does a lot of good things in a very practical manner. As for the bug report itself... (In reply to nobu from comment #0) > Actual Results: > 3. Error > The following script will also fail. > session.RunApplication(ConvertToURL("D:\表.ods")) > > Expected Results: > 3. Open "D:\表.ods". When you run ConvertToURL("D:\表.ods") the string becomes "%E8%A1%A8.ods" because of the character 表. If you type the address directly, without passing it through ConvertToURL, it will work. On my machine the following code worked: Sub Foo GlobalScope.BasicLibraries.LoadLibrary("ScriptForge") Dim session As Variant session = CreateScriptService("Session") session.RunApplication("/home/rafael/Documents/表.docx") End Sub -- You are receiving this mail because: You are the assignee for the bug.
