[Bug]The hyperlink path with Chinese characters is invalid in reading mode

Steps to reproduce

  1. Create a hyperlink containing a path with Chinese characters in editing mode, like this
    name” .
  2. Switch to reading mode, then click this hyperlink containing a path with chinese characters.

Expected result

After switching to reading mode, I can jump to the corresponding file by clicking the hyperlink.

Actual result

After switching to reading mode, I found the Chinese characters in the path of the hyperlink is transformed into other characters in reading mode, like this “E:%5CUsers%5Cusername%5CDocuments%5C%E4%B8%AD%E6%96%87%E8%B7%AF%E5%BE%84”, and the path becomes unavailable. I can’t jump to the corresponding file by clicking the hyperlink.
Note that the hyperlink can still work well under Live Preview in editing mode.

Environment

  • Operating system:
    Windows 10 20H2

  • Debug info:
    SYSTEM INFO:
    Obsidian version: v0.14.6
    Installer version: v0.14.6
    Operating system: Windows 10 Pro 10.0.19042
    Login status: not logged in
    Insider build toggle: off
    Live preview: off
    Legacy editor: off
    Base theme: light
    Community theme: none
    Snippets enabled: 0
    Safe mode: off
    Plugins installed: 2
    Plugins enabled: 1
    1: Markdown Table Editor

RECOMMENDATIONS:
Community plugins: for bugs, please first try updating all your plugins to latest. If still not fixed, please try to make the issue happen in the help vault or disable community plugins.


Additional information


that’s not the problem.

You are not using the correct format for referencing files outside the vault.
You should use file:/// in front of the file path.

1 Like

It really works, thank you!!
I still have a lot to learn.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.