");
+ writeLine(os, "\n\n");
+ writeLine(os, "");
}
void writeLine(OutputStream os, String text) throws IOException {
if (text != null)
- os.write(text.getBytes(StandardCharsets.UTF_8));
- os.write("\n".getBytes(StandardCharsets.UTF_8));
+ os.write(text.getBytes("windows-1251"));
+ os.write("\n".getBytes("windows-1251"));
}
void writeEnd(OutputStream os) throws IOException {
- //writeLine(os, "");
+ writeLine(os, "
");
+ writeLine(os, "");
}
}
}