Linux: Images and PDFs don't load if vault contains accented letters such as é (non english, non ascii, cjk, Umlauts)

Steps to reproduce

Put a .pdf file with a unicode character anywhere in the path (file name or folder name). Like ė, ų, ū and such. Try viewing it in obsidian. It is not opened. Rename it (or containing folder) to eliminate those characters, and the file is didplayed.

Did you follow the troubleshooting guide? [Y]

Yes, the Sanbox vault does behave the same.

Environment

SYSTEM INFO:
Obsidian version: v1.7.7
Installer version: v1.7.7
Operating system: #52-Ubuntu SMP PREEMPT_DYNAMIC Thu Dec 5 13:09:44 UTC 2024 6.8.0-51-generic
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: off
Plugins installed: 26
Plugins enabled: 16
1: Media Extended v2.11.1
2: Taskbone OCR v1.0.0
3: Dynamic Table of Contents v0.0.27
4: Obsidian Enhancing Export v1.1.1
5: Local images v0.14.2
6: Copy document as HTML v0.4.3
7: Simple Embeds v1.14.1
8: Advanced Slides v1.20.0
9: Rich Links v1.2.0
10: Annotator v0.2.11
11: Full Screen Toggle v1.0.3
12: Character Insertion v1.0.0
13: Linter v1.27.1
14: Tidy Footnotes v0.1.2
15: Markwhen v0.0.3
16: ePub Reader v1.0.1


Additional information

Tested this behavior on Ext4 and NTFS disks, in case it is a filesystem issue. Bug persists on both filesystems.

hmmm removing the no-sandbox (AppImage) actually fixed the problem to me!

I newly (since a few weeks) found this bug and reported it, see Embeds and images not shown when filename contains umlaut (ä, ü, ö).

Funnily enought, I only started with using snap to rule out influence of non-supported installation methods for reporting another bug…
Sooooo, I should just drop the snap and use which of the installation formats and from which source? Or are there other workarounds?

I had install Obsidian with the snap tool. I tried to launch it with the following command env LC_ALL=en_US.UTF-8 obsidian, which logged:

/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
2025-07-22 12:08:46 Loading main app package /snap/obsidian/47/resources/obsidian.asar
2025-07-22 12:08:46 Checking for update using Github
2025-07-22 12:08:46 Success.
2025-07-22 12:08:46 Latest version is 1.8.10
2025-07-22 12:08:46 App is up to date.

Then, I uninstalled it and re-installed considering the .deb file downloaded from the Obsidian’s official downlaod website.

It works fine now!

Also this old bug - https://forum.obsidian.md/t/some-pdfs-are-shown-as-empty-in-internal-pdf-viewer/73058 - is about the same. It’s already archived and I cannot comment on it, so I’m hoping @isomattis found that snap is the culprit.