springload / draftjs_exporter

Convert Draft.js ContentState to HTML
https://www.draftail.org/blog/2018/03/13/rethinking-rich-text-pipelines-with-draft-js
MIT License
83 stars 21 forks source link

Use io.open with utf-8 encoding in setup.py. Fix #98 #99

Closed thibaudcolas closed 6 years ago

thibaudcolas commented 6 years ago

Should fix #98. io.open is available in both Python 2.7 and 3, and has an encoding option.