BoostIO / BoostNote-Legacy

This repository is outdated and new Boost Note app is available! We've launched a new Boost Note app which supports real-time collaborative writing. https://github.com/BoostIO/BoostNote-App
Other
17.07k stars 1.47k forks source link

Recover .md files frome .cson (encoding conversion) #1901

Closed tholop closed 5 years ago

tholop commented 6 years ago

Hi there, Like some people all my notes recently disappeared from the interface. Fortunately I was able to make a copy of all the .cson files embedding my notes. They look like this :

'createdAt': '2018-04-18T06:19:05.544Z'
'updatedAt': '2018-05-02T12:44:19.801Z'
'type': 'MARKDOWN_NOTE'
'folder': 'c0beb159f2b71c11de80'
'title': 'Métaphysique moderne'
'content': '# Métaphysique moderne\n\n*L\'expérience chez Kant et Hegel*\n\n## 1. L\'expérience comme problème philosophique\n\n'
'tags': []
'isStarred': false
'isTrashed': false

Now I want to recover a clean .md file from this content field. I tried different encoding conversions but I couldn't find the right way to replace the \n by returns in my editor. Moreover this string contains french characters such as é.

Please do you have any idea?

Thanks

ZeroX-DG commented 5 years ago

Have you tried this feature image

tholop commented 5 years ago

Hi, thank you for your support. Indeed it's good to save notes as markdown before loosing them! My point is that due to some bug I no longer had my notes but only some unreadable .cson files, so exporting notes isn't relevant for me :) No worries anyway, this issue is old now. I guess such problems don't happen anymore. Cheers