Attachments not showing under folders with non-ASCII characters in the name

Steps to reproduce

Create a folder, with it’s name containing an emoji, or a non-ASCII character, like one of the special characters used in languages other than English. (I used ą, ć, ę, ł, ś, ó, ż or ź). Then, either mark it as an attachments folder and add an image to the vault, or drag and drop one specifically into the folder.

Did you follow the troubleshooting guide? [Y/N]


Expected result

When opening the file preview in Obsidian, the image should render. When adding the file to a different text file, it should embed.

Actual result

Instead of displaying the image content, Obsidian displays the default system image icon, along with it’s file name.


Obsidian version: v1.4.16
Installer version: v1.4.16
Operating system: #1 SMP PREEMPT_DYNAMIC Tue, 10 Oct 2023 21:10:21 +0000 6.5.7-arch1-1
Login status: logged in
Catalyst license: none
Insider build toggle: off
Live preview: on
Legacy editor: off
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: on