does ```view.loadData(content, "text/html", "UTF-8");``` work in this case?