When I open a PDF file and write the content to a text file the content from the text file is messed up. I think it's because of the encoding. From what I understand the JVM sets the default character set to Cp1252
(because I'm running on Windows XP). I've changed the default character set but with no results (System.setProperty("file.encoding", "ISO-8859-1");
)
- I've tried to use IText but the resulting content is missing some letters that have diacritics
Any ideas?