technicalpickles / obsidian-hook-scripts

Scripts to add to Hook for compatibility with Obsidian
MIT License
5 stars 0 forks source link

Handle accented characters #1

Open technicalpickles opened 3 years ago

technicalpickles commented 3 years ago

Reported on the forums: https://forum.obsidian.md/t/compatibility-with-hook-productivity-on-mac-os/2021/35

A file named like: 2020.2. Supervisões de… gets parsed as:

image

ldebritto commented 3 years ago

Problem will also affect the filename on link itself Captura de Tela 2020-12-01 às 16 42 28

On a related note, emoji will also not work.

technicalpickles commented 3 years ago

I added a bunch of debugging statements to see where it stops having the accent. It looks like the file .obsidian/workspace JSON is where it's not stored with the correct character.

I think that is something Obsidian manages, so would be a bug there 🤔

technicalpickles commented 3 years ago

What's weird is it looks like the Obsidian Cache JSON file has the right string, ie ~/Library/Application Support/obsidian/ObsidianCache/<vault id>.json