https://bugs.documentfoundation.org/show_bug.cgi?id=161405

            Bug ID: 161405
           Summary: ScriptForge's RunApplication functions cannot be
                    opened if the filename contains CJK
           Product: LibreOffice
           Version: 24.8.0.0 alpha1+ Master
          Hardware: All
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: BASIC
          Assignee: [email protected]
          Reporter: [email protected]

Description:
ScriptForge's RunApplication functions cannot be opened if the filename
contains CJK.

Steps to Reproduce:
1. open new calc and save as "D:\表.ods"
2. execute basic macro

Sub OpenFile_hyou_jp
  GlobalScope.BasicLibraries.LoadLibrary("ScriptForge")
 Dim session As Variant
  session = CreateScriptService("Session")
  session.RunApplication("D:\表.ods")
End Sub

Actual Results:
3. Error
The following script will also fail.
  session.RunApplication(ConvertToURL("D:\表.ods"))

Expected Results:
3. Open "D:\表.ods".


Reproducible: Always


User Profile Reset: No

Additional Info:
The script below works.
Sub OpenFile_hyou_jp_Shell
  Shell("soffice.exe", 1, "D:\表.ods")
End Sub

Reproducible with
Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: f4ef5435df5560e6b6b061ce4053c71e2819bf51
CPU threads: 4; OS: Windows 10.0 Build 10240; UI render: Skia/Raster; VCL: win
Locale: ja-JP (ja_JP); UI: ja-JP
Calc: threaded

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to