Change Encoding format on XML Header
Duskraelea opened this issue · 1 comments
Duskraelea commented
Hello,
I have used option xmlHeader: true,
which gives <?xml version="1.0" encoding="utf-8"?>
on top of the XML.
However, I want to change "utf-8" to something else like "TIS-620", how do I do that? Thank you.
soldair commented
hey. you should add an argument here https://github.com/soldair/node-jsontoxml/blob/master/jsontoxml.js#L118
and submit a pull request =)