Skip to main content

Encoding

Special characters like ? and spaces need to be encoded. There are many online encoders. An example is this tool. Simply enter the value of your parameters and use the encoded one.

Some encoding examples:

  • space → %20
  • /%2F
  • %%25

The key myKey and value Hello World need to be encoded like the following:

obsidian://advanced-uri?myKey=Hello%20World

To launch that URI from terminal with xdg-open you have to encode the value twice

obsidian://advanced-uri?myKey=Hello%2520World

As you can see % gets replaced with %25.