Image and PDF Viewer not behaving properly on valid system paths

Steps to reproduce

  1. Open a folder ad an Obsidian Vault in a path with weird characters, but still a valid OS path, in my case “~/Documents/Università/Analisi 2”
  2. Add a PDF to the folder or any image
  3. All the PDFs and images won’t be loaded and will show either a broken preview or 0-pages PDFs

Did you read and follow the Troubleshooting Guide ? Yes

Expected result

The PDF or image should be shown

Actual result

A broken preview is shown.
I’ve verified that opening in a path without weird characters is allowed and works.

Environment

SYSTEM INFO:
Obsidian version: 1.15.1
Installer version: 1.15.1
Operating system: #1 SMP PREEMPT_DYNAMIC Thu, 12 Nov 2026 20:11:37 +0000 7.3.4-arch1-2
Login status: not logged in
Language: en
Insider build toggle: off
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: on
RECOMMENDATIONS:
none

Distro Name: Arch Linux
Distro Version: Latest
Desktop Environment: KDE
Installation method used: Flatpak


Additional information

Failed to load resource: net::ERR_FILE_NOT_FOUND Failed to load resource: net::ERR_FILE_NOT_FOUND Failed to load resource: net::ERR_FILE_NOT_FOUND

Previous topic here (looks to be the same or similar issue):