tingbot / tide-electron

📝   Simple IDE for developing Tingbot apps
Other
22 stars 7 forks source link

Prevent binary file (font) corruption by opening in the text editor #62

Closed joerick closed 7 years ago

joerick commented 8 years ago

A common gotcha is font corruption from opening a file in the code editor, then saving it back on itself.

This can be avoided by not loading a file if it's not a recognised extensions and doesn't parse as UTF-8.