Images in non-English named folders under Ubuntu 22.04 LTS cannot be rendered

Steps to reproduce

The picture path under the non-English named folder may not be resolved correctly.

  1. In the sand vault, I made a non-English named folder.
  2. Move an image to that folder.
  3. Try to open the image in a new tab, but it doesn’t work.
  4. However if I named the folder in English. The image would be loaded again.

ps: I tried many languages in the sand vault. There might be some problems related to the path resolution in Linux.

Actual result

The copy of the image path:
app://43225c7f404893db0731a6267bce1d4562dc/home/netease/snap/obsidian/8/.config/obsidian/Obsidian%20Sandbox/%E3%81%93%E3%82%93%E3%81%AB%E3%81%A1%E3%81%AF/test2_photo.png?1684726878323

Expected result

The image in non-English named folders can be loaded.

Environment

And here are my debug info:

SYSTEM INFO:
Obsidian version: v1.2.8
Installer version: v1.2.8
Operating system: #42~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Apr 18 17:40:00 UTC 2 5.19.0-41-generic
Login status: not logged in
Insider build toggle: off
Live preview: on
Legacy editor: off
Base theme: dark
Community theme: none
Snippets enabled: 0
Restricted mode: on

RECOMMENDATIONS:
none


Additional information

There is more discussion in the link:

I actually compare the image path between Ubuntu and Windows. They are the exact same stuff but are not resolved correctly in Ubuntu.

I confirm the same problem on Kubuntu 23.04

1 Like