I'm trying to parse a website and print it again. But some characters are missing(◄ and ë for example).
Servlet code:
@Override
protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
PrintWriter writer = resp.getWriter();
Document document = Jsoup.connect("http://website.com").get();
writer.write(document.toString());
writer.close();
}
Error symbol that shows up instead of the character ë: