}
String fileData =binData.toString();
// Fix \r\n & \n and turn inte HTML
QWebPage page = new QWebPage();
page.mainFrame().setContent(binData);
fileData = page.mainFrame().toHtml();
fileData = fileData.replace("\n", "<br>\n");
noteString = new String("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" +
"<!DOCTYPE en-note SYSTEM \"http://xml.evernote.com/pub/enml2.dtd\">\n" +
"<en-note>\n<br clear=\"none\" />"+fileData+"</en-note>");