Generation of PDF from HTML with non-Latin characters using ITextRenderer does not work
问题 This is the 2nd day I spend investigating with no results. At least now, I am able to ask something very specific. I am trying to write a valid HTML code that contains some non-Latin characters in a PDF file using iText and more specifically using ITextRenderer from Flying Saucer. My short example/code starts by initializing a string variable doc with this value: String doc = "<?xml version=\"1.0\" encoding=\"UTF-8\"?><html xmlns=\"http://www.w3.org/1999/xhtml\" lang=\"en\">" + "<body>Some