OutputStreamWriter writer = new OutputStreamWriter(new GZIPOutputStream(
out), "UTF-8");
PrintWriter pw = new PrintWriter(writer);
HtmlTextOutput htmlOut = new HtmlTextOutput(pw, false);
String curLine = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>";
htmlOut.printRaw(curLine);
htmlOut.newline();
curLine = "<soyc>";
htmlOut.printRaw(curLine);
htmlOut.newline();