joethei / obsidian-plantuml

Generate PlantUML Diagrams inside Obsidian.md
MIT License
368 stars 18 forks source link

Error if path to local plantuml.jar contains non-ascii symbols. #32

Open maxtar opened 2 years ago

maxtar commented 2 years ago

My directory for attachments contains non-ascii symbols. Obsidian work with it correctly. But when I try to use this path for plantuml plugin console contains the following error:

plugin:obsidian-plantuml:5147 Uncaught (in promise) Error: Error: Unable to access jarfile C:\Users\user\OneDrive - Name\Obsidian\???????\plantuml-1.2022.5.jar

    at ChildProcess.eval (plugin:obsidian-plantuml:5147:20)
    at ChildProcess.emit (node:events:402:35)
    at maybeClose (node:internal/child_process:1064:16)
    at Socket.<anonymous> (node:internal/child_process:450:11)
    at Socket.emit (node:events:390:28)
    at Pipe.<anonymous> (node:net:687:12)