node-rtf
node-rtf copied to clipboard
An RTF document creation library for node.
Generated RTF file has inappropriate encoding for UTF-8 values used as: doc.writeText("here is --> привет
See https://github.com/jrowny/node-rtf/blob/master/lib/format.js#L91 it should read if(this.align.length > 0) rtf += this.align; instead of if(this.align.length > 0) rtf += align;
in format.js: Align = require("./align"), not Align = require("./Align"), might work on Windows, but U*X fails.
Make some real tests, not just examples. Maybe use mocha for that.