processing / p5.js-editor

Deprecated desktop editor for p5.js
https://p5js.org
MIT License
339 stars 91 forks source link

saveTable issues #256

Open molleindustria opened 7 years ago

molleindustria commented 7 years ago

I haven't used the editor recently and I was blown away by the improvements, wonderful job!

I'm reporting an issue that has been repeatedly mistaken for a p5 bug but which appears to be a problem of the editor: https://github.com/processing/p5.js/issues/1436 https://github.com/processing/p5.js/issues/1238

I'm on a mac and I can confirm that the file is being created but the content is a string of non-standard characters like: ∫w^~)fi

Edit: Using createWriter like suggested here produces the same output https://github.com/lmccart/gswp5.js-code/blob/master/Robots/Robot10_Data_a.js

Edit: changing the run in browser setting (I didn't know it existed) makes it download correctly in the default download folder although I'd love to be able to update files in the project folder

lmccart commented 7 years ago

thanks, ill take a look at this